Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/debug/CFGPrinterObserver.java @ 2793:d3fc4fe063bf
Rename BlockBegin to Merge, remove some Block related member from it. Made CFGPrinter work with the Block class from schedule
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 27 May 2011 11:08:55 +0200 |
parents | bda5972a40a5 |
children | 03027a0ef819 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/debug/CFGPrinterObserver.java Thu May 26 11:55:16 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/debug/CFGPrinterObserver.java Fri May 27 11:08:55 2011 +0200 @@ -25,7 +25,6 @@ import java.io.*; import com.sun.c1x.*; -import com.sun.c1x.ir.*; import com.sun.c1x.observer.*; import com.sun.cri.ri.*; @@ -74,10 +73,11 @@ cfgprinted = true; } - if (event.getStartBlock() != null) { + // TODO fix that when schedule is here (startBlock : Instruction->Block) + /*if (event.getStartBlock() != null) { cfgPrinter.printCFG((BlockBegin) event.getStartBlock(), label, event.isHIRValid(), event.isLIRValid()); cfgprinted = true; - } + }*/ if (event.getTargetMethod() != null) { if (cfgprinted) {