public Instruction[] prepareForInterpret() { final CFG cfg = new CFG(this); final DirectedGraph<BasicBlock> graph = cfg.build(getInstructions()); // FIXME: Add debug config for this System.out.println(cfg.toStringInstrs()); System.out.println(graph.toString()); // FIXME: We don't save this linearized set yet return prepareIPCs(CFGLinearizer.linearize(cfg), cfg); }
public List<BasicBlock> prepareForCompilation() { final CFG cfg = new CFG(this); cfg.build(getInstructions()); return CFGLinearizer.linearize(cfg); }