Skip to content

Commit

Permalink
Fixed incorrect stack size calculation (sizeof(zval) == 16)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed May 11, 2021
1 parent 33a93b5 commit 6fa4493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/opcache/jit/zend_jit_x86.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -8780,7 +8780,7 @@ static int zend_jit_push_call_frame(dasm_State **Dst, const zend_op *opline, con
| sub edx, dword [r0 + offsetof(zend_closure, func.op_array.last_var)]
| sub edx, dword [r0 + offsetof(zend_closure, func.op_array.T)]
}
| shl edx, 5
| shl edx, 4
|.if X64
| movsxd r2, edx
|.endif
Expand Down

0 comments on commit 6fa4493

Please sign in to comment.