Fix opcode length of ZEND_DECLARE_ATTRIBUTED_CONST in JIT-IR component (#18457)

Introduced in 3f03f7ed.
This commit is contained in:
Niels Dossche 2025-04-30 08:17:56 +02:00 committed by GitHub
parent c5f3281446
commit 39a56a1687
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4174,6 +4174,7 @@ static int zend_jit_handler(zend_jit_ctx *jit, const zend_op *opline, int may_th
case ZEND_ASSIGN_STATIC_PROP_REF:
case ZEND_ASSIGN_OBJ_REF:
case ZEND_FRAMELESS_ICALL_3:
case ZEND_DECLARE_ATTRIBUTED_CONST:
zend_jit_set_last_valid_opline(jit, opline + 2);
break;
default: