Skip to content

Commit 56fde2a

Browse files
committed
Reuse value stored in %r0 instead of immediate operand
1 parent 13f898b commit 56fde2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8807,7 +8807,7 @@ static int zend_jit_push_call_frame(dasm_State **Dst, const zend_op *opline, zen
88078807
#ifdef _WIN32
88088808
if (0) {
88098809
#else
8810-
if (func && func->type == ZEND_INTERNAL_FUNCTION) {
8810+
if (opline->opcode == ZEND_INIT_FCALL && func && func->type == ZEND_INTERNAL_FUNCTION) {
88118811
#endif
88128812
| SET_EX_OPLINE opline, r0
88138813
| EXT_CALL zend_jit_int_extend_stack_helper, r0
@@ -8839,7 +8839,7 @@ static int zend_jit_push_call_frame(dasm_State **Dst, const zend_op *opline, zen
88398839
#ifdef _WIN32
88408840
if (0) {
88418841
#else
8842-
if (func && func->type == ZEND_INTERNAL_FUNCTION) {
8842+
if (opline->opcode == ZEND_INIT_FCALL && func && func->type == ZEND_INTERNAL_FUNCTION) {
88438843
#endif
88448844
| // call->func = func;
88458845
|1:

0 commit comments

Comments
 (0)