From: Dmitry Stogov Date: Mon, 25 May 2020 19:19:13 +0000 (+0300) Subject: Fixed tracing JIT for RETRUN $undefined_cv X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0386cbb95c40bf5d505c2e8b7f2690cba932ef66;p=php Fixed tracing JIT for RETRUN $undefined_cv --- diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c index 7279e52086..ef8ea3696a 100644 --- a/ext/opcache/jit/zend_jit_trace.c +++ b/ext/opcache/jit/zend_jit_trace.c @@ -3309,7 +3309,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par || !op_array->function_name // TODO: support for IS_UNDEF ??? || (op1_info & MAY_BE_UNDEF)) { - if (!zend_jit_tail_handler(&dasm_state, opline)) { + if (!zend_jit_trace_handler(&dasm_state, op_array, opline, zend_may_throw(opline, ssa_op, op_array, ssa), p + 1)) { goto jit_failure; } } else {