public static ControlFlowGraph Create(BoundBlockStatement body) { var blocks = AtomicBlockBuilder.Build(body); var graph = ControlFlowGraphBuilder.Build(blocks); return(graph); }
public static List <AtomicBlock> Build(BoundBlockStatement block) { var builder = new AtomicBlockBuilder(); return(builder.BuildInternal(block)); }