Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2772:3e3338a1abb9
Disabled dead phi elimination and phi simplifier.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 24 May 2011 10:27:15 +0200 |
parents | 056e392d63d4 |
children | 93fd92c9f8b0 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Tue May 24 09:49:04 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Tue May 24 10:27:15 2011 +0200 @@ -1296,7 +1296,6 @@ // a block with only one predecessor never has phi functions if (sux.numberOfPreds() > 1) { - FrameState suxState = sux.stateBefore(); List<Phi> phis = getPhis(sux); @@ -1330,7 +1329,10 @@ resolver.dispose(); } - /*TTY.println("number of preds: " + sux.numberOfPreds()); + /* + + FrameState suxState = sux.stateBefore(); + TTY.println("number of preds: " + sux.numberOfPreds()); PhiResolver resolver = new PhiResolver(this);