Skip to content

Commit 8cc8eac

Browse files
committed
Update IR
IR commit: c63708b3664568d847b6db07ea380778f5c0313a Fix recently introduced nightly test failures ir_cfg.c:2305: ir_schedule_blocks_bottom_up: Assertion `bb->flags & (1<<2)' failed
1 parent 9e00163 commit 8cc8eac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/jit/ir/ir_cfg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2299,10 +2299,10 @@ static int ir_schedule_blocks_bottom_up(ir_ctx *ctx)
22992299
/* 4. Merge empty entry blocks */
23002300
if ((ctx->flags & IR_MERGE_EMPTY_ENTRIES) && ctx->entries_count) {
23012301
for (i = 0; i < ctx->entries_count; i++) {
2302-
b = ctx->cfg_map[ctx->entries[i]];
2302+
b = ctx->entries[i];
2303+
IR_ASSERT(ctx->cfg_blocks[b].flags & IR_BB_ENTRY);
23032304
if (b && chains[b].head == b && chains[b].tail == b) {
23042305
bb = &ctx->cfg_blocks[b];
2305-
IR_ASSERT(bb->flags & IR_BB_ENTRY);
23062306
if (bb->flags & IR_BB_EMPTY) {
23072307
uint32_t successor;
23082308

0 commit comments

Comments
 (0)