src/hotspot/share/opto/loopPredicate.cpp
changeset 51333 f6641fcf7b7e
parent 51078 fc6cfe40e32a
child 52414 6d42c07ba238
equal deleted inserted replaced
51332:c25572739e7c 51333:f6641fcf7b7e
   547     }
   547     }
   548   }
   548   }
   549 
   549 
   550  public:
   550  public:
   551   Invariance(Arena* area, IdealLoopTree* lpt) :
   551   Invariance(Arena* area, IdealLoopTree* lpt) :
   552     _lpt(lpt), _phase(lpt->_phase),
   552     _visited(area), _invariant(area),
   553     _visited(area), _invariant(area), _stack(area, 10 /* guess */),
   553     _stack(area, 10 /* guess */),
   554     _clone_visited(area), _old_new(area)
   554     _clone_visited(area), _old_new(area),
       
   555     _lpt(lpt), _phase(lpt->_phase)
   555   {
   556   {
   556     LoopNode* head = _lpt->_head->as_Loop();
   557     LoopNode* head = _lpt->_head->as_Loop();
   557     Node* entry = head->skip_strip_mined()->in(LoopNode::EntryControl);
   558     Node* entry = head->skip_strip_mined()->in(LoopNode::EntryControl);
   558     if (entry->outcnt() != 1) {
   559     if (entry->outcnt() != 1) {
   559       // If a node is pinned between the predicates and the loop
   560       // If a node is pinned between the predicates and the loop