From 0386cbb95c40bf5d505c2e8b7f2690cba932ef66 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 25 May 2020 22:19:13 +0300 Subject: [PATCH] Fixed tracing JIT for RETRUN $undefined_cv --- ext/opcache/jit/zend_jit_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.50.1