From: Andi Gutmans Date: Fri, 9 Jun 2000 13:08:40 +0000 (+0000) Subject: - Remove old obsolete code. X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edd7025645fbb93f14d018761ab6e15423e5f24f;p=php - Remove old obsolete code. --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index ebec3c0e99..f63bfa0b73 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -347,16 +347,6 @@ static inline void zend_assign_to_variable(znode *result, znode *op1, znode *op2 if (variable_ptr->refcount==0) { switch (type) { case IS_VAR: - /* - if (PZVAL_IS_LOCKED(value)) { - zval *orig_value = value; - - ALLOC_ZVAL(value); - *value = *orig_value; - value->refcount=0; - zval_copy_ctor(value); - } - */ /* break missing intentionally */ case IS_CONST: if (variable_ptr==value) { @@ -386,16 +376,6 @@ static inline void zend_assign_to_variable(znode *result, znode *op1, znode *op2 } else { /* we need to split */ switch (type) { case IS_VAR: - /* - if (PZVAL_IS_LOCKED(value)) { - zval *orig_value = value; - - ALLOC_ZVAL(value); - *value = *orig_value; - value->refcount=0; - zval_copy_ctor(value); - } - */ /* break missing intentionally */ case IS_CONST: if (PZVAL_IS_REF(value) && value->refcount > 0) {