Commit 2077092a537 for php
commit 2077092a537ad8d514be4a8feb25ba5351904a1a
Merge: a3108871870 fe8ce13ef7b
Author: Jorg Sowa <jorg.sowa@gmail.com>
Date: Thu Oct 22 19:08:52 2026 +0200
Merge branch 'PHP-8.4' into PHP-8.5
diff --cc ext/opcache/jit/zend_jit_ir.c
index 939f597143f,536cef3dac7..8357ba8f894
--- a/ext/opcache/jit/zend_jit_ir.c
+++ b/ext/opcache/jit/zend_jit_ir.c
@@@ -13776,11 -13683,11 +13776,14 @@@ static int zend_jit_assign_dim_op(zend_
ir_MERGE_list(end_inputs);
}
+ if (op1_data_info & (MAY_BE_REF|MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE)) {
+ op1_data_info |= MAY_BE_RC1|MAY_BE_RCN;
+ }
jit_FREE_OP(jit, (opline+1)->op1_type, (opline+1)->op1, op1_data_info, NULL);
jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, NULL);
+ if (!op1_indirect) {
+ jit_FREE_OP(jit, opline->op1_type, opline->op1, op1_info, NULL);
+ }
if (may_throw) {
zend_jit_check_exception(jit);
}