comparison graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java @ 2799:e1dad0edd57a

first part of loop reworking
author Lukas Stadler <lukas.stadler@jku.at>
date Fri, 27 May 2011 17:48:28 +0200
parents d3fc4fe063bf
children c6bdec623ef9 7f14e6b48a9c
comparison
equal deleted inserted replaced
2798:58e65eb6bb5d 2799:e1dad0edd57a
529 lir.branch(Condition.EQ, CiKind.Boolean, getLIRBlock(x.catchSuccessor())); 529 lir.branch(Condition.EQ, CiKind.Boolean, getLIRBlock(x.catchSuccessor()));
530 530
531 lir.jump(getLIRBlock(x.otherSuccessor())); 531 lir.jump(getLIRBlock(x.otherSuccessor()));
532 } 532 }
533 533
534 @Override
535 public void visitLoopBegin(LoopBegin x) {
536 visitMerge(x);
537 }
538
539 @Override
540 public void visitLoopEnd(LoopEnd x) {
541 setNoResult(x);
542
543 // emit phi-instruction moves after safepoint since this simplifies
544 // describing the state at the safepoint.
545
546 moveToPhi();
547 lir.jump(getLIRBlock(x.loopBegin()));
548 }
549
534 } 550 }