From 9e80558047eb9c34b9e8839ea2e07e8a1885bb1a Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 29 Jul 2020 17:37:01 +0300 Subject: [PATCH] Load ptoper IP value --- ext/opcache/jit/zend_jit_x86.dasc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index d18c3ca2ec..19e56ef6b6 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -9097,6 +9097,10 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend if ((!trace || !func) && opline->opcode != ZEND_DO_ICALL) { | LOAD_IP_ADDR (opline + 1) + } else if (trace + && trace->op == ZEND_JIT_TRACE_END + && trace->stop == ZEND_JIT_TRACE_STOP_INTERPRETER) { + | LOAD_IP_ADDR (opline + 1) } } -- 2.50.1