Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java @ 2639:8e96b2b3a866
Added stateBefore to Throw instruction.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 11 May 2011 13:41:35 +0200 |
parents | 4dd0573f510b |
children | 9e30cf6dcf96 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java Wed May 11 12:10:41 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java Wed May 11 13:41:35 2011 +0200 @@ -553,7 +553,9 @@ } void genThrow(int bci) { + FrameState stateBefore = frameState.create(bci); Throw t = new Throw(frameState.apop(), !noSafepoints(), graph); + t.setStateBefore(stateBefore); appendWithoutOptimization(t, bci); }