summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-08-02 17:51:42 +0000
committerAndi Gutmans <andi@php.net>2000-08-02 17:51:42 +0000
commit5ae343b752d0226db74ccafe09b8dd6403f605d3 (patch)
tree75df0da6dc88990d33a4c264ffb23e7b34505ab0 /Zend/zend_execute.c
parenta4a0e18ec4f5bf06672f4188b39858c3bbf98bb9 (diff)
downloadphp-git-5ae343b752d0226db74ccafe09b8dd6403f605d3.tar.gz
- Remove commented code
Diffstat (limited to 'Zend/zend_execute.c')
-rw-r--r--Zend/zend_execute.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 4706bcc181..5bd22db674 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -65,14 +65,6 @@ static void zend_extension_statement_handler(zend_extension *extension, zend_op_
static void zend_extension_fcall_begin_handler(zend_extension *extension, zend_op_array *op_array);
static void zend_extension_fcall_end_handler(zend_extension *extension, zend_op_array *op_array);
-/*
-#define SEPARATE_ON_READ_OBJECT(obj, _type) \
-if ((obj) && ((_type) == BP_VAR_R) && ((*(obj))->type == IS_OBJECT)) { \
- SEPARATE_ZVAL_IF_NOT_REF((obj)); \
- (*(obj))->is_ref = 1; \
- }
-*/
-
#define RETURN_VALUE_USED(opline) (!((opline)->result.u.EA.type & EXT_TYPE_UNUSED))
static inline zval *_get_zval_ptr(znode *node, temp_variable *Ts, int *should_free ELS_DC)
@@ -504,7 +496,6 @@ static void zend_fetch_var_address(znode *result, znode *op1, znode *op2, temp_v
zval_dtor(varname);
}
Ts[result->u.var].var.ptr_ptr = retval;
- /* SEPARATE_ON_READ_OBJECT(retval, type); */
SELECTIVE_PZVAL_LOCK(*retval, result);
}
@@ -682,7 +673,6 @@ static void zend_fetch_dimension_address(znode *result, znode *op1, znode *op2,
} else {
*retval = zend_fetch_dimension_address_inner(container->value.ht, op2, Ts, type ELS_CC);
}
- /* SEPARATE_ON_READ_OBJECT(*retval, type); */
SELECTIVE_PZVAL_LOCK(**retval, result);
break;
case IS_NULL:
@@ -873,7 +863,6 @@ static void zend_fetch_property_address(znode *result, znode *op1, znode *op2, t
zendi_zval_copy_ctor(*container);
}
*retval = zend_fetch_property_address_inner(container->value.obj.properties, op2, Ts, type ELS_CC);
- /* SEPARATE_ON_READ_OBJECT(*retval, type); */
SELECTIVE_PZVAL_LOCK(**retval, result);
}