private static void MarkLoop(LBlock backedge) { var worklist = new LoopBodyWorklist(backedge); worklist.scan(backedge); while (!worklist.empty) { var block = worklist.pop(); worklist.scan(block); block.setInLoop(backedge.loop); } }
private static void MarkLoop(LBlock backedge) { var worklist = new LoopBodyWorklist(backedge); worklist.scan(backedge); while (!worklist.empty) { LBlock block = worklist.pop(); worklist.scan(block); block.setInLoop(backedge.loop); } }