]> granicus.if.org Git - php/commitdiff
Fixed tracing JIT for RETRUN $undefined_cv
authorDmitry Stogov <dmitry@zend.com>
Mon, 25 May 2020 19:19:13 +0000 (22:19 +0300)
committerDmitry Stogov <dmitry@zend.com>
Mon, 25 May 2020 19:19:13 +0000 (22:19 +0300)
ext/opcache/jit/zend_jit_trace.c

index 7279e52086520ce21d331e9e4e3c6ec666a7c9bc..ef8ea3696a580e5c1d6bfe64ce4232a7bb88f384 100644 (file)
@@ -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 {