comparison graal/GraalCompiler/src/com/sun/c1x/ir/Goto.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 ca31e84ff154
children 398b8fa5dc81
comparison
equal deleted inserted replaced
2773:27512ea6bbcb 2774:93fd92c9f8b0
39 * Constructs a new Goto instruction. 39 * Constructs a new Goto instruction.
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 graph 42 * @param graph
43 */ 43 */
44 public Goto(Instruction succ, FrameState stateAfter, Graph graph) { 44 public Goto(Instruction succ, Graph graph) {
45 super(CiKind.Illegal, stateAfter, 1, INPUT_COUNT, SUCCESSOR_COUNT, graph); 45 super(CiKind.Illegal, 1, INPUT_COUNT, SUCCESSOR_COUNT, graph);
46 setBlockSuccessor(0, succ); 46 setBlockSuccessor(0, succ);
47 } 47 }
48 48
49 @Override 49 @Override
50 public void accept(ValueVisitor v) { 50 public void accept(ValueVisitor v) {