hotspot/src/share/vm/opto/loopopts.cpp
changeset 355 22d39d357cca
parent 242 f4a8c30a53b0
child 590 2954744d7bba
equal deleted inserted replaced
354:3b42d6fdcb82 355:22d39d357cca
  2255 //             v
  2255 //             v
  2256 //           exitA
  2256 //           exitA
  2257 //
  2257 //
  2258 bool PhaseIdealLoop::partial_peel( IdealLoopTree *loop, Node_List &old_new ) {
  2258 bool PhaseIdealLoop::partial_peel( IdealLoopTree *loop, Node_List &old_new ) {
  2259 
  2259 
       
  2260   if (!loop->_head->is_Loop()) {
       
  2261     return false;  }
       
  2262 
  2260   LoopNode *head  = loop->_head->as_Loop();
  2263   LoopNode *head  = loop->_head->as_Loop();
  2261 
  2264 
  2262   if (head->is_partial_peel_loop() || head->partial_peel_has_failed()) {
  2265   if (head->is_partial_peel_loop() || head->partial_peel_has_failed()) {
  2263     return false;
  2266     return false;
  2264   }
  2267   }