From: Dmitry Stogov Date: Mon, 27 Jul 2020 18:11:07 +0000 (+0300) Subject: Fixed incorrect abstract stack size calculation X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbb18e4409b6f6f76712c1e14f0119b7fc8a45c1;p=php Fixed incorrect abstract stack size calculation --- diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c index 7ed9730320..ea57f5d68c 100644 --- a/ext/opcache/jit/zend_jit_trace.c +++ b/ext/opcache/jit/zend_jit_trace.c @@ -1019,7 +1019,7 @@ static zend_ssa *zend_jit_trace_build_tssa(zend_jit_trace_rec *trace_buffer, uin } } else if (p->op == ZEND_JIT_TRACE_BACK) { if (level == 0) { - stack_bottom += zend_jit_trace_frame_size(op_array); + stack_bottom += zend_jit_trace_frame_size(p->op_array); jit_extension = (zend_jit_op_array_trace_extension*)ZEND_FUNC_INFO(op_array); ssa = &jit_extension->func_info.ssa;