Skip to content

Commit a7df3da

Browse files
committed
Fix JIT trace register allocation for FRAMELESS_ICALL_3
1 parent a129151 commit a7df3da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ static zend_always_inline int zend_jit_trace_op_len(const zend_op *opline)
600600
case ZEND_ASSIGN_STATIC_PROP_OP:
601601
case ZEND_ASSIGN_OBJ_REF:
602602
case ZEND_ASSIGN_STATIC_PROP_REF:
603+
case ZEND_FRAMELESS_ICALL_3:
603604
return 2; /* OP_DATA */
604605
case ZEND_RECV_INIT:
605606
len = 1;
@@ -3006,6 +3007,7 @@ static zend_jit_reg_var* zend_jit_trace_allocate_registers(zend_jit_trace_rec *t
30063007
case ZEND_ASSIGN_STATIC_PROP_OP:
30073008
case ZEND_ASSIGN_OBJ_REF:
30083009
case ZEND_ASSIGN_STATIC_PROP_REF:
3010+
case ZEND_FRAMELESS_ICALL_3:
30093011
/* OP_DATA */
30103012
ssa_op++;
30113013
opline++;

0 commit comments

Comments
 (0)