Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/Goto.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 | ca31e84ff154 |
comparison
equal
deleted
inserted
replaced
2749:36440e516e44 | 2750:6048da340364 |
---|---|
40 * @param succ the successor block of the goto | 40 * @param succ the successor block of the goto |
41 * @param stateAfter the frame state at the end of this block | 41 * @param stateAfter the frame state at the end of this block |
42 * @param isSafepoint {@code true} if the goto should be considered a safepoint (e.g. backward branch) | 42 * @param isSafepoint {@code true} if the goto should be considered a safepoint (e.g. backward branch) |
43 * @param graph | 43 * @param graph |
44 */ | 44 */ |
45 public Goto(BlockBegin succ, FrameState stateAfter, Graph graph) { | 45 public Goto(Instruction succ, FrameState stateAfter, Graph graph) { |
46 super(CiKind.Illegal, stateAfter, 1, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 46 super(CiKind.Illegal, stateAfter, 1, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
47 setBlockSuccessor(0, succ); | 47 setBlockSuccessor(0, succ); |
48 } | 48 } |
49 | 49 |
50 @Override | 50 @Override |