Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/opt/PhiSimplifier.java @ 2582:768d77a1c7af
new node layout: Instruction
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Thu, 05 May 2011 13:47:14 +0200 |
parents | 3fca504f28ba |
children | 785e9ecdcc69 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/opt/PhiSimplifier.java Thu May 05 13:27:48 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/opt/PhiSimplifier.java Thu May 05 13:47:14 2011 +0200 @@ -78,7 +78,7 @@ // attempt to simplify the phi by recursively simplifying its operands phi.setFlag(Value.Flag.PhiVisited); Value phiSubst = null; - int max = phi.inputCount(); + int max = phi.phiInputCount(); boolean cannotSimplify = false; for (int i = 0; i < max; i++) { Value oldInstr = phi.inputAt(i);