comparison graal/GraalCompiler/src/com/sun/c1x/graph/BlockMap.java @ 2830:706047ee5f2e

Removed ExceptionHandler class because of clean up.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Tue, 31 May 2011 11:01:24 +0200
parents 27512ea6bbcb
children 75e0d39833a0
comparison
equal deleted inserted replaced
2829:27c00b180416 2830:706047ee5f2e
129 } 129 }
130 130
131 public static class ExceptionBlock extends Block { 131 public static class ExceptionBlock extends Block {
132 public RiExceptionHandler handler; 132 public RiExceptionHandler handler;
133 public Block next; 133 public Block next;
134 public Block handlerBlock;
135 } 134 }
136 135
137 private static final Block[] NO_SUCCESSORS = new Block[0]; 136 private static final Block[] NO_SUCCESSORS = new Block[0];
138 137
139 /** 138 /**
421 block = new ExceptionBlock(); 420 block = new ExceptionBlock();
422 block.startBci = -1; 421 block.startBci = -1;
423 block.endBci = -1; 422 block.endBci = -1;
424 block.handler = handler; 423 block.handler = handler;
425 block.successors.add(blockMap[handler.handlerBCI()]); 424 block.successors.add(blockMap[handler.handlerBCI()]);
426 block.handlerBlock = blockMap[handler.handlerBCI()];
427 Block next; 425 Block next;
428 if (index < handlers.size() - 1) { 426 if (index < handlers.size() - 1) {
429 next = makeExceptionDispatch(handlers, index + 1); 427 next = makeExceptionDispatch(handlers, index + 1);
430 } else { 428 } else {
431 next = makeUnwind(); 429 next = makeUnwind();