hotspot/src/share/vm/opto/loopTransform.cpp
changeset 24020 d73865d27efc
parent 23528 8f1a7f5e8066
child 24923 9631f7d691dc
equal deleted inserted replaced
24019:fd58d5121d7a 24020:d73865d27efc
  1148   pre_head->set_profile_trip_cnt(4.0);
  1148   pre_head->set_profile_trip_cnt(4.0);
  1149 
  1149 
  1150   // Now force out all loop-invariant dominating tests.  The optimizer
  1150   // Now force out all loop-invariant dominating tests.  The optimizer
  1151   // finds some, but we _know_ they are all useless.
  1151   // finds some, but we _know_ they are all useless.
  1152   peeled_dom_test_elim(loop,old_new);
  1152   peeled_dom_test_elim(loop,old_new);
       
  1153   loop->record_for_igvn();
  1153 }
  1154 }
  1154 
  1155 
  1155 //------------------------------is_invariant-----------------------------
  1156 //------------------------------is_invariant-----------------------------
  1156 // Return true if n is invariant
  1157 // Return true if n is invariant
  1157 bool IdealLoopTree::is_invariant(Node* n) const {
  1158 bool IdealLoopTree::is_invariant(Node* n) const {