Exemplo n.º 1
0
        public static ControlFlowGraph Create(BoundBlockStatement body)
        {
            var blocks = AtomicBlockBuilder.Build(body);
            var graph  = ControlFlowGraphBuilder.Build(blocks);

            return(graph);
        }
Exemplo n.º 2
0
        public static List <AtomicBlock> Build(BoundBlockStatement block)
        {
            var builder = new AtomicBlockBuilder();

            return(builder.BuildInternal(block));
        }