comparison 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
comparison
equal deleted inserted replaced
2638:3e47aeb60ab3 2639:8e96b2b3a866
551 Value x = frameState.pop(kind); 551 Value x = frameState.pop(kind);
552 ifNode(x, cond, y, stateBefore); 552 ifNode(x, cond, y, stateBefore);
553 } 553 }
554 554
555 void genThrow(int bci) { 555 void genThrow(int bci) {
556 FrameState stateBefore = frameState.create(bci);
556 Throw t = new Throw(frameState.apop(), !noSafepoints(), graph); 557 Throw t = new Throw(frameState.apop(), !noSafepoints(), graph);
558 t.setStateBefore(stateBefore);
557 appendWithoutOptimization(t, bci); 559 appendWithoutOptimization(t, bci);
558 } 560 }
559 561
560 void genCheckCast() { 562 void genCheckCast() {
561 int cpi = stream().readCPI(); 563 int cpi = stream().readCPI();