From ae26a51f0f9967e2182197e0abbb8abb1ad4c79a Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 13 Mar 2015 11:29:43 +0300 Subject: Added API function to call VM opcode handler in a portable way --- sapi/phpdbg/phpdbg_prompt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg_prompt.c') diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index 72cb2e018c..b9228aa922 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -23,6 +23,7 @@ #include "zend.h" #include "zend_compile.h" #include "zend_exceptions.h" +#include "zend_vm.h" #include "phpdbg.h" #include "phpdbg_help.h" @@ -1460,7 +1461,7 @@ next: execute_data->func->type == ZEND_USER_FUNCTION) { zend_execute_ex = execute_ex; } - PHPDBG_G(vmret) = execute_data->opline->handler(execute_data); + PHPDBG_G(vmret) = zend_vm_call_opcode_handler(execute_data); zend_execute_ex = phpdbg_execute_ex; if (PHPDBG_G(vmret) != 0) { -- cgit v1.2.1