Re: com php-src: Fix non-specialized executor build: Zend/zend_vm_def.h
| From: | Ard Biesheuvel | Date: | Thu, 20 Jun 2013 21:14:43 +0000 |
| Subject: | Re: com php-src: Fix non-specialized executor build: Zend/zend_vm_def.h | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-72447@lists.php.net to get a copy of this message | ||
On 20 June 2013 23:00, Christopher Jones <christopher.jones@oracle.com> wrote:
> 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)?
>
Hey Chris,
Considering that zend_vm_def.h is only a template used to generate
zend_vm_execute.h and zend_vm_opcodes.h, which I will not be
regenerating and submitting for 5.4 and 5.5 (given their stable and RC
status respectively), I am not sure there is any merit to merging
these changes to those trees as well.
--
Ard.
> 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