cvs: ZendEngine2 / zend_execute.c zend_object_handlers.c

From: Date: Fri, 15 Aug 2003 21:02:35 +0000
Subject: cvs: ZendEngine2 / zend_execute.c zend_object_handlers.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1633@lists.php.net to get a copy of this message
sas Fri Aug 15 17:02:35 2003 EDT Modified files: /ZendEngine2 zend_execute.c zend_object_handlers.c Log: Restrict scope of inline functions to compile unit Submitted by: Jason Greene <jason@inetgurus.net> Index: ZendEngine2/zend_execute.c diff -u ZendEngine2/zend_execute.c:1.519 ZendEngine2/zend_execute.c:1.520 --- ZendEngine2/zend_execute.c:1.519 Mon Aug 4 15:57:53 2003 +++ ZendEngine2/zend_execute.c Fri Aug 15 17:02:35 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute.c,v 1.519 2003/08/04 19:57:53 helly Exp $ */ +/* $Id: zend_execute.c,v 1.520 2003/08/15 21:02:35 sas Exp $ */ #define ZEND_INTENSIVE_DEBUGGING 0 @@ -1562,7 +1562,7 @@ } -inline int zend_binary_assign_op_helper(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) +static inline int zend_binary_assign_op_helper(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) { zval **var_ptr; zval *value; @@ -1722,7 +1722,7 @@ } -inline int zend_incdec_op_helper(void *incdec_op_arg, ZEND_OPCODE_HANDLER_ARGS) +static inline int zend_incdec_op_helper(void *incdec_op_arg, ZEND_OPCODE_HANDLER_ARGS) { zval **var_ptr = get_zval_ptr_ptr(&EX(opline)->op1, EX(Ts), BP_VAR_RW); int (*incdec_op)(zval *op1) = incdec_op_arg; @@ -2779,7 +2779,7 @@ } -inline int zend_send_by_var_helper(ZEND_OPCODE_HANDLER_ARGS) +static inline int zend_send_by_var_helper(ZEND_OPCODE_HANDLER_ARGS) { zval *varptr; varptr = get_zval_ptr(&EX(opline)->op1, EX(Ts), &EG(free_op1), BP_VAR_R); @@ -2934,7 +2934,7 @@ } -inline int zend_brk_cont_helper(ZEND_OPCODE_HANDLER_ARGS) +static inline int zend_brk_cont_helper(ZEND_OPCODE_HANDLER_ARGS) { zval *nest_levels_zval = get_zval_ptr(&EX(opline)->op2, EX(Ts), &EG(free_op2), BP_VAR_R); zval tmp; @@ -3152,7 +3152,7 @@ } -inline int zend_init_add_array_helper(ZEND_OPCODE_HANDLER_ARGS) +static inline int zend_init_add_array_helper(ZEND_OPCODE_HANDLER_ARGS) { zval *array_ptr = &EX_T(EX(opline)->result.u.var).tmp_var; zval *expr_ptr, **expr_ptr_ptr = NULL; Index: ZendEngine2/zend_object_handlers.c diff -u ZendEngine2/zend_object_handlers.c:1.63 ZendEngine2/zend_object_handlers.c:1.64 --- ZendEngine2/zend_object_handlers.c:1.63 Sun Aug 3 13:40:44 2003 +++ ZendEngine2/zend_object_handlers.c Fri Aug 15 17:02:35 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_object_handlers.c,v 1.63 2003/08/03 17:40:44 zeev Exp $ */ +/* $Id: zend_object_handlers.c,v 1.64 2003/08/15 21:02:35 sas Exp $ */ #include "zend.h" #include "zend_globals.h" @@ -154,7 +154,7 @@ } -inline int zend_verify_property_access(zend_property_info *property_info, zend_class_entry *ce TSRMLS_DC) +static inline int zend_verify_property_access(zend_property_info *property_info, zend_class_entry *ce TSRMLS_DC) { switch (property_info->flags & ZEND_ACC_PPP_MASK) { case ZEND_ACC_PUBLIC:

« previous php.zend-engine.cvs (#1633) next »