mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Update IR
IR commit: 84a4b4259a0ea246f82e0d8a3d79032af75b5267 This fixes GH-15903: Core dumped in ext/opcache/jit/ir/ir_ra.c
This commit is contained in:
parent
e2da65de2a
commit
9cb48c8fa1
1 changed files with 14 additions and 0 deletions
|
@ -1033,6 +1033,20 @@ next:
|
|||
bb->loop_depth = loop_depth;
|
||||
if (bb->flags & (IR_BB_ENTRY|IR_BB_LOOP_WITH_ENTRY)) {
|
||||
loop->flags |= IR_BB_LOOP_WITH_ENTRY;
|
||||
if (loop_depth > 1) {
|
||||
/* Set IR_BB_LOOP_WITH_ENTRY flag for all the enclosing loops */
|
||||
bb = &blocks[loop->loop_header];
|
||||
while (1) {
|
||||
if (bb->flags & IR_BB_LOOP_WITH_ENTRY) {
|
||||
break;
|
||||
}
|
||||
bb->flags |= IR_BB_LOOP_WITH_ENTRY;
|
||||
if (bb->loop_depth == 1) {
|
||||
break;
|
||||
}
|
||||
bb = &blocks[loop->loop_header];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue