Skip to content

Commit 2066bf1

Browse files
committed
Update IR
IR commit: 2bc594304cb40ebc3930c529a6ade7d121d5e00b
1 parent cab88dd commit 2066bf1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ext/opcache/jit/ir/ir_cfg.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,10 @@ int ir_schedule_blocks(ir_ctx *ctx)
18261826
ir_block *bb, *best_successor_bb;
18271827
ir_insn *insn;
18281828
uint32_t *list, *empty;
1829-
uint32_t count = 0, empty_count = 0;
1829+
uint32_t count = 0;
1830+
#ifdef IR_DEBUG
1831+
uint32_t empty_count = 0;
1832+
#endif
18301833

18311834
ir_bitqueue_init(&blocks, ctx->cfg_blocks_count + 1);
18321835
blocks.pos = 0;
@@ -1852,7 +1855,9 @@ int ir_schedule_blocks(ir_ctx *ctx)
18521855
}
18531856
if ((bb->flags & (IR_BB_START|IR_BB_ENTRY|IR_BB_EMPTY)) == IR_BB_EMPTY) {
18541857
/* move empty blocks to the end */
1858+
#ifdef IR_DEBUG
18551859
empty_count++;
1860+
#endif
18561861
*empty = b;
18571862
empty--;
18581863
} else {

0 commit comments

Comments
 (0)