Skip to content

Commit 47f9f3a

Browse files
authored
Fix Nightly workflow Symfony assertion (ir_ra.c:326: ir_fix_live_range: Assertion `ival && p->start == old_start' failed) (#19458)
1 parent 8b52313 commit 47f9f3a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14642,6 +14642,13 @@ static int zend_jit_assign_obj(zend_jit_ctx *jit,
1464214642
ir_ref slow_inputs = IR_UNUSED;
1464314643
uint32_t res_info = RES_INFO();
1464414644

14645+
if (Z_MODE(val_addr) == IS_REG
14646+
&& Z_LOAD(val_addr)
14647+
&& jit->ra[Z_SSA_VAR(val_addr)].ref == IR_NULL) {
14648+
/* Force load */
14649+
zend_jit_use_reg(jit, val_addr);
14650+
}
14651+
1464514652
if (val_addr != val_def_addr && val_def_addr) {
1464614653
if (!zend_jit_update_regs(jit, (opline+1)->op1.var, val_addr, val_def_addr, val_info)) {
1464714654
return 0;

0 commit comments

Comments
 (0)