Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
2829:27c00b180416 | 2834:bfce42cd9c07 |
---|---|
75 boolean unorderedIsTrue; | 75 boolean unorderedIsTrue; |
76 | 76 |
77 /** | 77 /** |
78 * Constructs a new If instruction. | 78 * Constructs a new If instruction. |
79 * @param x the instruction producing the first input to the instruction | 79 * @param x the instruction producing the first input to the instruction |
80 * @param cond the condition (comparison operation) | 80 * @param condition the condition (comparison operation) |
81 * @param y the instruction that produces the second input to this instruction | 81 * @param y the instruction that produces the second input to this instruction |
82 * @param stateAfter the state before the branch but after the input values have been popped | |
83 * @param graph | 82 * @param graph |
84 */ | 83 */ |
85 public If(Value x, Condition cond, Value y, Graph graph) { | 84 public If(Value x, Condition condition, Value y, Graph graph) { |
86 super(CiKind.Illegal, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 85 super(CiKind.Illegal, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
87 assert (x == null && y == null) || Util.archKindsEqual(x, y); | 86 assert (x == null && y == null) || Util.archKindsEqual(x, y); |
88 condition = cond; | 87 this.condition = condition; |
89 setX(x); | 88 setX(x); |
90 setY(y); | 89 setY(y); |
91 } | 90 } |
92 | 91 |
93 /** | 92 /** |