]> granicus.if.org Git - php/commitdiff
- Remove old obsolete code.
authorAndi Gutmans <andi@php.net>
Fri, 9 Jun 2000 13:08:40 +0000 (13:08 +0000)
committerAndi Gutmans <andi@php.net>
Fri, 9 Jun 2000 13:08:40 +0000 (13:08 +0000)
Zend/zend_execute.c

index ebec3c0e994afa6a29f95a1652158024f23755ce..f63bfa0b739fa55d9c64594fff112b1defc843a5 100644 (file)
@@ -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) {