Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.printer/src/com/oracle/graal/printer/CFGPrinterObserver.java @ 9234:b9cf7d0b598e
removal of FixedNode.probability (draft)
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Mon, 22 Apr 2013 13:29:55 +0200 |
parents | 8d6ea1915d42 |
children | d64083db3c11 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.printer/src/com/oracle/graal/printer/CFGPrinterObserver.java Sun Apr 21 21:41:09 2013 +0200 +++ b/graal/com.oracle.graal.printer/src/com/oracle/graal/printer/CFGPrinterObserver.java Mon Apr 22 13:29:55 2013 +0200 @@ -146,7 +146,8 @@ } else if (object instanceof StructuredGraph) { if (cfgPrinter.cfg == null) { - cfgPrinter.cfg = ControlFlowGraph.compute((StructuredGraph) object, true, true, true, false); + StructuredGraph graph = (StructuredGraph) object; + cfgPrinter.cfg = ControlFlowGraph.compute(graph, true, true, true, false); } cfgPrinter.printCFG(message, Arrays.asList(cfgPrinter.cfg.getBlocks()));