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 <larue...@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/ >