Re: com php-src: Fix non-specialized executor build: Zend/zend_vm_def.h

From: Date: Thu, 20 Jun 2013 21:00:36 +0000
Subject: Re: com php-src: Fix non-specialized executor build: Zend/zend_vm_def.h
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-72446@lists.php.net to get a copy of this message
On 06/20/2013 08:26 AM, Ard Biesheuvel wrote:
Commit:    4cd2b7212fd15af5631b95685fa966dc101a84ff
Author:    Ard Biesheuvel <ard.biesheuvel@linaro.org>         Thu, 20 Jun 2013 17:26:05 +0200
Parents: 3e6b312b55ef8044ba1cea44f8986e2375dc6195 Branches: master
Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=4cd2b7212fd15af5631b95685fa966dc101a84ff
Log: Fix non-specialized executor build Removed a couple of calls to FREE_OP2() that were left behind in the handlers for break and continue opcodes after commit 7628da98 Changed paths: M Zend/zend_vm_def.h
Doesn't this need to be merged back to PHP 5.5 (and added to NEWS)? Chris
Diff: diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h index 369f945..a15e4c6 100644 --- a/Zend/zend_vm_def.h +++ b/Zend/zend_vm_def.h @@ -3299,7 +3299,6 @@ ZEND_VM_HANDLER(50, ZEND_BRK, ANY, CONST) SAVE_OPLINE(); el = zend_brk_cont(Z_LVAL_P(opline->op2.zv), opline->op1.opline_num,
  	                   EX(op_array), execute_data TSRMLS_CC);
- FREE_OP2(); ZEND_VM_JMP(EX(op_array)->opcodes + el->brk); } @@ -3311,7 +3310,6 @@ ZEND_VM_HANDLER(51, ZEND_CONT, ANY, CONST) SAVE_OPLINE(); el = zend_brk_cont(Z_LVAL_P(opline->op2.zv), opline->op1.opline_num,
  	                   EX(op_array), execute_data TSRMLS_CC);
- FREE_OP2(); ZEND_VM_JMP(EX(op_array)->opcodes + el->cont); }
-- christopher.jones@oracle.com http://twitter.com/ghrd Free PHP & Oracle book: http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

« previous php.cvs (#72446) next »