summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2020-05-25 22:19:13 +0300
committerDmitry Stogov <dmitry@zend.com>2020-05-25 22:19:13 +0300
commit0386cbb95c40bf5d505c2e8b7f2690cba932ef66 (patch)
treee4689cee02509cb1ec9d2217318f3eeef43da084 /ext
parente8ba8908a90aa623abf9f16ebf60d2703754c522 (diff)
downloadphp-git-0386cbb95c40bf5d505c2e8b7f2690cba932ef66.tar.gz
Fixed tracing JIT for RETRUN $undefined_cv
Diffstat (limited to 'ext')
-rw-r--r--ext/opcache/jit/zend_jit_trace.c2
1 files changed, 1 insertions, 1 deletions
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 {