com php-src: Fixed incorrect abstract stack size calculation: ext/opcache/jit/zend_jit_trace.c

From: Date: Mon, 27 Jul 2020 18:11:07 +0000
Subject: com php-src: Fixed incorrect abstract stack size calculation: ext/opcache/jit/zend_jit_trace.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-112391@lists.php.net to get a copy of this message
Commit: fbb18e4409b6f6f76712c1e14f0119b7fc8a45c1 Author: Dmitry Stogov <dmitry@zend.com> Mon, 27 Jul 2020 21:11:07 +0300 Parents: dc1a6dc0de2df5dfebff0bccbc87d48b4f6dfde8 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fbb18e4409b6f6f76712c1e14f0119b7fc8a45c1 Log: Fixed incorrect abstract stack size calculation Changed paths: M ext/opcache/jit/zend_jit_trace.c Diff: 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;

« previous php.cvs (#112391) next »