comparison graal/GraalCompiler/src/com/sun/c1x/ir/ExceptionDispatch.java @ 2712:a0dd2b907806

Removed implicit safepoints.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Thu, 19 May 2011 13:09:37 +0200
parents 7ed72769d51a
children 6048da340364
comparison
equal deleted inserted replaced
2708:4272b7af2d17 2712:a0dd2b907806
62 private final ExceptionHandler handler; 62 private final ExceptionHandler handler;
63 63
64 /** 64 /**
65 * Constructs a new ExceptionDispatch instruction. 65 * Constructs a new ExceptionDispatch instruction.
66 */ 66 */
67 public ExceptionDispatch(Value exception, BlockBegin catchSuccessor, BlockBegin otherSuccessor, ExceptionHandler handler, FrameState stateAfter, boolean isSafepoint, Graph graph) { 67 public ExceptionDispatch(Value exception, BlockBegin catchSuccessor, BlockBegin otherSuccessor, ExceptionHandler handler, FrameState stateAfter, Graph graph) {
68 super(CiKind.Int, stateAfter, isSafepoint, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph); 68 super(CiKind.Int, stateAfter, 2, INPUT_COUNT, SUCCESSOR_COUNT, graph);
69 setException(exception); 69 setException(exception);
70 setBlockSuccessor(0, otherSuccessor); 70 setBlockSuccessor(0, otherSuccessor);
71 setBlockSuccessor(1, catchSuccessor); 71 setBlockSuccessor(1, catchSuccessor);
72 this.handler = handler; 72 this.handler = handler;
73 } 73 }
127 print(handler.handler.catchType().name()). 127 print(handler.handler.catchType().name()).
128 print(" then B"). 128 print(" then B").
129 print(blockSuccessors().get(1).blockID). 129 print(blockSuccessors().get(1).blockID).
130 print(" else B"). 130 print(" else B").
131 print(blockSuccessors().get(0).blockID); 131 print(blockSuccessors().get(0).blockID);
132 if (isSafepoint()) {
133 out.print(" (safepoint)");
134 }
135 } 132 }
136 133
137 @Override 134 @Override
138 public String shortName() { 135 public String shortName() {
139 return "Dispatch " + handler.handler.catchType().name(); 136 return "Dispatch " + handler.handler.catchType().name();