mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Fix Nightly workflow Symfony assertion (ir_ra.c:326: ir_fix_live_range: Assertion `ival && p->start == old_start' failed) (#19458)
This commit is contained in:
parent
8b5231388c
commit
47f9f3a3f6
1 changed files with 7 additions and 0 deletions
|
@ -14642,6 +14642,13 @@ static int zend_jit_assign_obj(zend_jit_ctx *jit,
|
|||
ir_ref slow_inputs = IR_UNUSED;
|
||||
uint32_t res_info = RES_INFO();
|
||||
|
||||
if (Z_MODE(val_addr) == IS_REG
|
||||
&& Z_LOAD(val_addr)
|
||||
&& jit->ra[Z_SSA_VAR(val_addr)].ref == IR_NULL) {
|
||||
/* Force load */
|
||||
zend_jit_use_reg(jit, val_addr);
|
||||
}
|
||||
|
||||
if (val_addr != val_def_addr && val_def_addr) {
|
||||
if (!zend_jit_update_regs(jit, (opline+1)->op1.var, val_addr, val_def_addr, val_info)) {
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue