Skip to content

Commit 6fa4493

Browse files
committed
Fixed incorrect stack size calculation (sizeof(zval) == 16)
1 parent 33a93b5 commit 6fa4493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8780,7 +8780,7 @@ static int zend_jit_push_call_frame(dasm_State **Dst, const zend_op *opline, con
87808780
| sub edx, dword [r0 + offsetof(zend_closure, func.op_array.last_var)]
87818781
| sub edx, dword [r0 + offsetof(zend_closure, func.op_array.T)]
87828782
}
8783-
| shl edx, 5
8783+
| shl edx, 4
87848784
|.if X64
87858785
| movsxd r2, edx
87868786
|.endif

0 commit comments

Comments
 (0)