Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/ir/If.java @ 2834:bfce42cd9c07
Graph duplication now passes all tests
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 31 May 2011 13:34:52 +0200 |
parents | bd17ac598c6e |
children | 14708c03abba |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/If.java Tue May 31 09:51:59 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/If.java Tue May 31 13:34:52 2011 +0200 @@ -77,15 +77,14 @@ /** * Constructs a new If instruction. * @param x the instruction producing the first input to the instruction - * @param cond the condition (comparison operation) + * @param condition the condition (comparison operation) * @param y the instruction that produces the second input to this instruction - * @param stateAfter the state before the branch but after the input values have been popped * @param graph */ - public If(Value x, Condition cond, Value y, Graph graph) { + public If(Value x, Condition condition, Value y, Graph graph) { super(CiKind.Illegal, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph); assert (x == null && y == null) || Util.archKindsEqual(x, y); - condition = cond; + this.condition = condition; setX(x); setY(y); }