comparison graal/GraalCompiler/src/com/sun/c1x/ir/ExceptionDispatch.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 27512ea6bbcb
children 398b8fa5dc81
comparison
equal deleted inserted replaced
2773:27512ea6bbcb 2774:93fd92c9f8b0
63 private final RiType catchType; 63 private final RiType catchType;
64 64
65 /** 65 /**
66 * Constructs a new ExceptionDispatch instruction. 66 * Constructs a new ExceptionDispatch instruction.
67 */ 67 */
68 public ExceptionDispatch(Value exception, Instruction catchSuccessor, Instruction otherSuccessor, RiType catchType, FrameState stateAfter, Graph graph) { 68 public ExceptionDispatch(Value exception, Instruction catchSuccessor, Instruction otherSuccessor, RiType catchType, Graph graph) {
69 super(CiKind.Int, stateAfter, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph); 69 super(CiKind.Int, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph);
70 setException(exception); 70 setException(exception);
71 setBlockSuccessor(0, otherSuccessor); 71 setBlockSuccessor(0, otherSuccessor);
72 setBlockSuccessor(1, catchSuccessor); 72 setBlockSuccessor(1, catchSuccessor);
73 this.catchType = catchType; 73 this.catchType = catchType;
74 } 74 }