Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java @ 2775:3b73b230b86b
Removed more stateAfter usages.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 24 May 2011 13:51:32 +0200 |
parents | 93fd92c9f8b0 |
children | 398b8fa5dc81 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java Tue May 24 13:39:50 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java Tue May 24 13:51:32 2011 +0200 @@ -1167,7 +1167,7 @@ } } - private BlockEnd iterateBytecodesForBlock(Block block) { + private void iterateBytecodesForBlock(Block block) { assert frameState != null; stream.setBCI(block.startBci); @@ -1207,17 +1207,6 @@ } blockStart = false; } - - // if the method terminates, we don't need the stack anymore - if (end instanceof Return || end instanceof Throw) { - frameState.clearStack(); - } - - // connect to begin and set state - // NOTE that inlining may have changed the block we are parsing - assert end != null : "end should exist after iterating over bytecodes"; - end.setStateAfter(frameState.create(bci())); - return end; } private void traceState() {