src/hotspot/share/opto/loopPredicate.cpp
changeset 53357 c52a37f40324
parent 53306 8e260023fc53
child 54423 6c0ab8bd8da5
equal deleted inserted replaced
53356:7c68a23014db 53357:c52a37f40324
   158   _igvn.hash_delete(rgn);
   158   _igvn.hash_delete(rgn);
   159   rgn->add_req(if_uct);
   159   rgn->add_req(if_uct);
   160   // When called from beautify_loops() idom is not constructed yet.
   160   // When called from beautify_loops() idom is not constructed yet.
   161   if (_idom != NULL) {
   161   if (_idom != NULL) {
   162     Node* ridom = idom(rgn);
   162     Node* ridom = idom(rgn);
   163     Node* nrdom = dom_lca(ridom, new_iff);
   163     Node* nrdom = dom_lca_internal(ridom, new_iff);
   164     set_idom(rgn, nrdom, dom_depth(rgn));
   164     set_idom(rgn, nrdom, dom_depth(rgn));
   165   }
   165   }
   166 
   166 
   167   // If rgn has phis add new edges which has the same
   167   // If rgn has phis add new edges which has the same
   168   // value as on original uncommon_proj pass.
   168   // value as on original uncommon_proj pass.