Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/debug/CFGPrinterObserver.java @ 2781:bda5972a40a5
remove unnecessary BlockBegin nodes in frontend
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 24 May 2011 15:31:52 +0200 |
parents | 16b9a8b5ad39 |
children | d3fc4fe063bf |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/debug/CFGPrinterObserver.java Tue May 24 13:55:56 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/debug/CFGPrinterObserver.java Tue May 24 15:31:52 2011 +0200 @@ -25,6 +25,7 @@ import java.io.*; import com.sun.c1x.*; +import com.sun.c1x.ir.*; import com.sun.c1x.observer.*; import com.sun.cri.ri.*; @@ -74,7 +75,7 @@ } if (event.getStartBlock() != null) { - cfgPrinter.printCFG(event.getStartBlock(), label, event.isHIRValid(), event.isLIRValid()); + cfgPrinter.printCFG((BlockBegin) event.getStartBlock(), label, event.isHIRValid(), event.isLIRValid()); cfgprinted = true; }