src/share/vm/opto/split_if.cpp

changeset 8311
c9035b8e388b
parent 4153
b9a9ed0f8eeb
child 8316
626f594dffa6
equal deleted inserted replaced
8310:6c57a16d0238 8311:c9035b8e388b
470 if( get_loop(iff)->tail() == ifp ) 470 if( get_loop(iff)->tail() == ifp )
471 get_loop(iff)->_tail = ifpx; 471 get_loop(iff)->_tail = ifpx;
472 472
473 // Replace in the graph with lazy-update mechanism 473 // Replace in the graph with lazy-update mechanism
474 new_iff->set_req(0, new_iff); // hook self so it does not go dead 474 new_iff->set_req(0, new_iff); // hook self so it does not go dead
475 lazy_replace_proj( ifp, ifpx ); 475 lazy_replace(ifp, ifpx);
476 new_iff->set_req(0, region); 476 new_iff->set_req(0, region);
477 477
478 // Record bits for later xforms 478 // Record bits for later xforms
479 if( ifp->Opcode() == Op_IfFalse ) { 479 if( ifp->Opcode() == Op_IfFalse ) {
480 old_false = ifp; 480 old_false = ifp;

mercurial