cvs: ZendEngine2 / zend_execute.c
| From: | Andi Gutmans | Date: | Tue, 22 Oct 2002 19:34:26 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-529@lists.php.net to get a copy of this message | ||
andi Tue Oct 22 15:34:26 2002 EDT
Modified files:
/ZendEngine2 zend_execute.c
Log:
- Nuke unused get_incdec_op()
- Nuke old comment
Index: ZendEngine2/zend_execute.c
diff -u ZendEngine2/zend_execute.c:1.381 ZendEngine2/zend_execute.c:1.382
--- ZendEngine2/zend_execute.c:1.381 Tue Oct 22 15:31:53 2002
+++ ZendEngine2/zend_execute.c Tue Oct 22 15:34:25 2002
@@ -35,28 +35,6 @@
#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);