]> granicus.if.org Git - php/commitdiff
- Nuke unused get_incdec_op()
authorAndi Gutmans <andi@php.net>
Tue, 22 Oct 2002 19:34:25 +0000 (19:34 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 22 Oct 2002 19:34:25 +0000 (19:34 +0000)
- Nuke old comment

Zend/zend_execute.c

index a55d21e561792bc70d2c1b1134785df23aca15ae..d98d972bf7f6e7cc8ac68e78274d4cdf3cac4fe6 100644 (file)
 #define get_zval_ptr(node, Ts, should_free, type) _get_zval_ptr(node, Ts, should_free TSRMLS_CC)
 #define get_zval_ptr_ptr(node, Ts, type) _get_zval_ptr_ptr(node, Ts TSRMLS_CC)
 
-#define get_incdec_op(op, opcode) \
-       switch (opcode) { \
-               case ZEND_PRE_INC: \
-               case ZEND_POST_INC: \
-               case ZEND_PRE_INC_OBJ: \
-               case ZEND_POST_INC_OBJ: \
-                       (op) = increment_function; \
-                       break; \
-               case ZEND_PRE_DEC: \
-               case ZEND_POST_DEC: \
-               case ZEND_PRE_DEC_OBJ: \
-               case ZEND_POST_DEC_OBJ: \
-                       (op) = decrement_function; \
-                       break; \
-               default: \
-                       (op) = NULL; \
-                       break; \
-       } \
-
-/* These globals don't have to be thread safe since they're never modified */
-
-
 /* Prototypes */
 static void zend_fetch_var_address(zend_op *opline, temp_variable *Ts, int type TSRMLS_DC);
 static void zend_fetch_dimension_address(znode *result, znode *op1, znode *op2, temp_variable *Ts, int type TSRMLS_DC);