comparison graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java @ 2751:0fe79e7435c3

More scheduling. Removed need for cfg iteration in the phi simplifier.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Fri, 20 May 2011 14:22:22 +0200
parents a3cd5eb68837
children 0d268cf66e24
comparison
equal deleted inserted replaced
2745:114fc809462f 2751:0fe79e7435c3
178 // 1. create the start block 178 // 1. create the start block
179 Block startBlock = nextBlock(Instruction.SYNCHRONIZATION_ENTRY_BCI); 179 Block startBlock = nextBlock(Instruction.SYNCHRONIZATION_ENTRY_BCI);
180 BlockBegin startBlockBegin = new BlockBegin(0, startBlock.blockID, graph); 180 BlockBegin startBlockBegin = new BlockBegin(0, startBlock.blockID, graph);
181 startBlock.firstInstruction = startBlockBegin; 181 startBlock.firstInstruction = startBlockBegin;
182 182
183 graph.root().setStart(startBlockBegin); 183 graph.start().setStart(startBlockBegin);
184 184
185 RiExceptionHandler[] handlers = rootMethod.exceptionHandlers(); 185 RiExceptionHandler[] handlers = rootMethod.exceptionHandlers();
186 if (handlers != null && handlers.length > 0) { 186 if (handlers != null && handlers.length > 0) {
187 exceptionHandlers = new ArrayList<ExceptionHandler>(handlers.length); 187 exceptionHandlers = new ArrayList<ExceptionHandler>(handlers.length);
188 for (RiExceptionHandler ch : handlers) { 188 for (RiExceptionHandler ch : handlers) {