We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cab88dd commit 2066bf1Copy full SHA for 2066bf1
ext/opcache/jit/ir/ir_cfg.c
@@ -1826,7 +1826,10 @@ int ir_schedule_blocks(ir_ctx *ctx)
1826
ir_block *bb, *best_successor_bb;
1827
ir_insn *insn;
1828
uint32_t *list, *empty;
1829
- uint32_t count = 0, empty_count = 0;
+ uint32_t count = 0;
1830
+#ifdef IR_DEBUG
1831
+ uint32_t empty_count = 0;
1832
+#endif
1833
1834
ir_bitqueue_init(&blocks, ctx->cfg_blocks_count + 1);
1835
blocks.pos = 0;
@@ -1852,7 +1855,9 @@ int ir_schedule_blocks(ir_ctx *ctx)
1852
1855
}
1853
1856
if ((bb->flags & (IR_BB_START|IR_BB_ENTRY|IR_BB_EMPTY)) == IR_BB_EMPTY) {
1854
1857
/* move empty blocks to the end */
1858
1859
empty_count++;
1860
1861
*empty = b;
1862
empty--;
1863
} else {
0 commit comments