Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/If.java @ 2774:93fd92c9f8b0
Removed usage of stateAfter on BlockEnd instructions.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 24 May 2011 13:39:50 +0200 |
parents | 43ffa0e47a46 |
children | 398b8fa5dc81 |
comparison
equal
deleted
inserted
replaced
2773:27512ea6bbcb | 2774:93fd92c9f8b0 |
---|---|
81 * @param cond the condition (comparison operation) | 81 * @param cond the condition (comparison operation) |
82 * @param y the instruction that produces the second input to this instruction | 82 * @param y the instruction that produces the second input to this instruction |
83 * @param stateAfter the state before the branch but after the input values have been popped | 83 * @param stateAfter the state before the branch but after the input values have been popped |
84 * @param graph | 84 * @param graph |
85 */ | 85 */ |
86 public If(Value x, Condition cond, Value y, FrameState stateAfter, Graph graph) { | 86 public If(Value x, Condition cond, Value y, Graph graph) { |
87 super(CiKind.Illegal, stateAfter, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 87 super(CiKind.Illegal, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
88 assert Util.archKindsEqual(x, y); | 88 assert Util.archKindsEqual(x, y); |
89 condition = cond; | 89 condition = cond; |
90 setX(x); | 90 setX(x); |
91 setY(y); | 91 setY(y); |
92 } | 92 } |