Skip to content

Commit fbb18e4

Browse files
committed
Fixed incorrect abstract stack size calculation
1 parent dc1a6dc commit fbb18e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ static zend_ssa *zend_jit_trace_build_tssa(zend_jit_trace_rec *trace_buffer, uin
10191019
}
10201020
} else if (p->op == ZEND_JIT_TRACE_BACK) {
10211021
if (level == 0) {
1022-
stack_bottom += zend_jit_trace_frame_size(op_array);
1022+
stack_bottom += zend_jit_trace_frame_size(p->op_array);
10231023
jit_extension =
10241024
(zend_jit_op_array_trace_extension*)ZEND_FUNC_INFO(op_array);
10251025
ssa = &jit_extension->func_info.ssa;

0 commit comments

Comments
 (0)