svn: /php/php-src/trunk/Zend/ zend_vm_def.h zend_vm_execute.h

From: Date: Tue, 10 Aug 2010 15:24:19 +0000
Subject: svn: /php/php-src/trunk/Zend/ zend_vm_def.h zend_vm_execute.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-63260@lists.php.net to get a copy of this message
dmitry Tue, 10 Aug 2010 15:24:19 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=302076 Log: Optimization (IS_TMP_VARs don't need reference counting) Changed paths: U php/php-src/trunk/Zend/zend_vm_def.h U php/php-src/trunk/Zend/zend_vm_execute.h Modified: php/php-src/trunk/Zend/zend_vm_def.h =================================================================== --- php/php-src/trunk/Zend/zend_vm_def.h 2010-08-10 14:44:50 UTC (rev 302075) +++ php/php-src/trunk/Zend/zend_vm_def.h 2010-08-10 15:24:19 UTC (rev 302076) @@ -3389,7 +3389,7 @@ CACHE_PTR(opline->op2.literal->cache_slot, c); } retval = &EX_T(opline->result.var).tmp_var; - INIT_PZVAL_COPY(retval, &c->value); + ZVAL_COPY_VALUE(retval, &c->value); zval_copy_ctor(retval); CHECK_EXCEPTION(); ZEND_VM_NEXT_OPCODE(); Modified: php/php-src/trunk/Zend/zend_vm_execute.h =================================================================== --- php/php-src/trunk/Zend/zend_vm_execute.h 2010-08-10 14:44:50 UTC (rev 302075) +++ php/php-src/trunk/Zend/zend_vm_execute.h 2010-08-10 15:24:19 UTC (rev 302076) @@ -3276,7 +3276,7 @@ CACHE_PTR(opline->op2.literal->cache_slot, c); } retval = &EX_T(opline->result.var).tmp_var; - INIT_PZVAL_COPY(retval, &c->value); + ZVAL_COPY_VALUE(retval, &c->value); zval_copy_ctor(retval); CHECK_EXCEPTION(); ZEND_VM_NEXT_OPCODE(); @@ -13086,7 +13086,7 @@ CACHE_PTR(opline->op2.literal->cache_slot, c); } retval = &EX_T(opline->result.var).tmp_var; - INIT_PZVAL_COPY(retval, &c->value); + ZVAL_COPY_VALUE(retval, &c->value); zval_copy_ctor(retval); CHECK_EXCEPTION(); ZEND_VM_NEXT_OPCODE(); @@ -21675,7 +21675,7 @@ CACHE_PTR(opline->op2.literal->cache_slot, c); } retval = &EX_T(opline->result.var).tmp_var; - INIT_PZVAL_COPY(retval, &c->value); + ZVAL_COPY_VALUE(retval, &c->value); zval_copy_ctor(retval); CHECK_EXCEPTION(); ZEND_VM_NEXT_OPCODE();

« previous php.cvs (#63260) next »