Mercurial > hg > truffle
changeset 19445:82c5dfb8435a
Fix graph dumping in the graph builder.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 17 Feb 2015 01:50:08 +0100 |
parents | d786fa19dc47 |
children | fb20fbfd6a85 |
files | graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java |
diffstat | 1 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Tue Feb 17 01:44:13 2015 +0100 +++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Tue Feb 17 01:50:08 2015 +0100 @@ -297,8 +297,7 @@ processBlock(this, unwindBlock); if (Debug.isDumpEnabled() && this.beforeReturnNode != startInstruction) { - // Debug.dump(currentGraph, "Bytecodes parsed: " + -// method.getDeclaringClass().getUnqualifiedName() + "." + method.getName()); + Debug.dump(currentGraph, "Bytecodes parsed: " + method.getDeclaringClass().getUnqualifiedName() + "." + method.getName()); } } } @@ -322,7 +321,7 @@ context.peelIteration = this.getCurrentDimension(); context.targetPeelIteration = -1; explodeLoopsContext.push(context); - // Debug.dump(currentGraph, "before loop explosion " + context.peelIteration); + Debug.dump(currentGraph, "before loop explosion " + context.peelIteration); while (true) { @@ -334,14 +333,10 @@ if (context.targetPeelIteration != -1) { // We were reaching the backedge during explosion. Explode further. - // Debug.dump(currentGraph, "Before loop explosion " + -// context.targetPeelIteration); context.peelIteration = context.targetPeelIteration; context.targetPeelIteration = -1; } else { // We did not reach the backedge. Exit. - // Debug.dump(currentGraph, "after loop explosion " + -// context.peelIteration); break; } }