Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/If.java @ 2750:6048da340364
less references to BlockBegin in BlockEnd instructions
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 20 May 2011 14:22:19 +0200 |
parents | a0dd2b907806 |
children | 80b024e75b29 |
comparison
equal
deleted
inserted
replaced
2749:36440e516e44 | 2750:6048da340364 |
---|---|
84 * @param falseSucc the block representing the false successor | 84 * @param falseSucc the block representing the false successor |
85 * @param stateAfter the state before the branch but after the input values have been popped | 85 * @param stateAfter the state before the branch but after the input values have been popped |
86 * @param isSafepoint {@code true} if this branch should be considered a safepoint | 86 * @param isSafepoint {@code true} if this branch should be considered a safepoint |
87 * @param graph | 87 * @param graph |
88 */ | 88 */ |
89 public If(Value x, Condition cond, Value y, | 89 public If(Value x, Condition cond, Value y, Instruction trueSucc, Instruction falseSucc, FrameState stateAfter, Graph graph) { |
90 BlockBegin trueSucc, BlockBegin falseSucc, FrameState stateAfter, Graph graph) { | |
91 super(CiKind.Illegal, stateAfter, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 90 super(CiKind.Illegal, stateAfter, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
92 assert Util.archKindsEqual(x, y); | 91 assert Util.archKindsEqual(x, y); |
93 condition = cond; | 92 condition = cond; |
94 setX(x); | 93 setX(x); |
95 setY(y); | 94 setY(y); |