Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/value/FrameStateBuilder.java @ 2707:7ed72769d51a
exception handling related changes:
* changed blockPredecessors to list of Instructions, instead of Blocks
* removed explicit predecessor management in BlockBegin, now using predecessors from Graph structure
* replaced generated LIR exception entries with exception dispatch chains in IR
* added Unwind and ExceptionDispatch instructions
* removed ExceptionEntry flag in BlockBegin and all code depending on it
* removed exceptionHandler list from Instruction, replaced by exception Edge on Invoke and Throw
* replaced list of ExceptionHandlers with single exception edge in debug info
misc:
* changed GraphvizPrinter layout (smaller ports on large nodes)
* removed defunct run config
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 18 May 2011 18:09:20 +0200 |
parents | 6ca76b891d31 |
children | a2f62de90c76 |
comparison
equal
deleted
inserted
replaced
2677:0ea5f12e873a | 2707:7ed72769d51a |
---|---|
93 | 93 |
94 public FrameState create(int bci) { | 94 public FrameState create(int bci) { |
95 return new FrameState(bci, locals, stack, stackIndex, locks, graph); | 95 return new FrameState(bci, locals, stack, stackIndex, locks, graph); |
96 } | 96 } |
97 | 97 |
98 @Override | |
99 public FrameState duplicateWithEmptyStack(int bci) { | |
100 return new FrameState(bci, locals, new Value[0], 0, locks, graph); | |
101 } | |
102 | |
98 /** | 103 /** |
99 * Pushes an instruction onto the stack with the expected type. | 104 * Pushes an instruction onto the stack with the expected type. |
100 * @param kind the type expected for this instruction | 105 * @param kind the type expected for this instruction |
101 * @param x the instruction to push onto the stack | 106 * @param x the instruction to push onto the stack |
102 */ | 107 */ |