Re: Re: Please expose zend_vm_get_opcde_handler
| From: | Xinchen Hui | Date: | Tue, 14 Feb 2012 07:07:54 +0000 |
| Subject: | Re: Re: Please expose zend_vm_get_opcde_handler | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57848@lists.php.net to get a copy of this message | ||
On Tue, Feb 14, 2012 at 3:02 PM, Xinchen Hui <laruence@gmail.com> wrote:
> On Tue, Feb 14, 2012 at 3:00 PM, Dmitry Stogov <dmitry@zend.com> wrote:
>> In general exposing zend_vm_get_opcode_handler() can't help.
>> You know that executor might be generated/compiled not only using
>> call-treading but also using switch or goto. In these cases
>> zend_vm_get_opcode_handler() won't return a function that could be called.
> Hi:
> sure, but I really need a way (even it's narrow) for my new extension..
>
Why I insistent this is there might be more than 80% php running
with-vm-kind=CALL
so expose this make sense for most of us.
but you really remind me, that I shoud also add a flag to detect what
the vm-kind now...
thanks
> or, should I make a patch to add a ZEND_USER_OPCODE_CALL_ME_LATER ?
>
> thanks
>>
>> Thanks. Dmitry.
>>
>>
>> On 02/14/2012 10:43 AM, Stas Malyshev wrote:
>>>
>>> Hi!
>>>
>>>> Hi:
>>>> a patch for this proposal:
>>>
>>>
>>> Don't see any problem with it. Dmitry, any issues you see with it?
>>> If not, we can commit it.
>>>
>>
>
>
>
> --
> 惠新宸 laruence
> Senior PHP Engineer
> http://www.laruence.com
--
惠新宸 laruence
Senior PHP Engineer
http://www.laruence.com