Skip to content

Commit 39a56a1

Browse files
authored
Fix opcode length of ZEND_DECLARE_ATTRIBUTED_CONST in JIT-IR component (php#18457)
Introduced in 3f03f7e.
1 parent c5f3281 commit 39a56a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4174,6 +4174,7 @@ static int zend_jit_handler(zend_jit_ctx *jit, const zend_op *opline, int may_th
41744174
case ZEND_ASSIGN_STATIC_PROP_REF:
41754175
case ZEND_ASSIGN_OBJ_REF:
41764176
case ZEND_FRAMELESS_ICALL_3:
4177+
case ZEND_DECLARE_ATTRIBUTED_CONST:
41774178
zend_jit_set_last_valid_opline(jit, opline + 2);
41784179
break;
41794180
default:

0 commit comments

Comments
 (0)