Re: Drop Multiply VM kind support
| From: | Dmitry Stogov | Date: | Fri, 13 Mar 2015 07:50:34 +0000 |
| Subject: | Re: Drop Multiply VM kind support | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84665@lists.php.net to get a copy of this message | ||
Hi Xinchen,
I don't like to remove anything. I think GOTO may be made faster. It's just
not very interesting to invest into it, because CALL is more suitable.
execute_data->opline->handler(execute_data); won't work with CALL and
global CPU registers s well :(
Thanks. Dmitry.
On Fri, Mar 13, 2015 at 7:01 AM, Xinchen Hui <laruence@php.net> wrote:
> Hey:
>
> We have CALL SWITCH GOTO vm kind supports for long time.
>
> And we use CALL for default.
>
> SWITCH GOTO seems useless now, and brings us some troubles while
> maintaining .
>
> And also could make some extension unable to work, like in phpdbg:
>
> PHPDBG_G(vmret) =
> execute_data->opline->handler(execute_data);
>
>
> So, maybe it's time for us to remove GOTO and SWITCH at all?
>
> thanks
>
> --
> Xinchen Hui
> @Laruence
> http://www.laruence.com/
>