hotspot/src/share/vm/opto/lcm.cpp
changeset 20289 35d78de0c547
parent 19724 1e308c6b0de3
child 22838 82c7497fbad4
child 22234 da823d78ad65
equal deleted inserted replaced
20288:e2d549f40de9 20289:35d78de0c547
   470         if (use->is_MachIf() && get_block_for_node(use) == block) {
   470         if (use->is_MachIf() && get_block_for_node(use) == block) {
   471           found_machif = true;
   471           found_machif = true;
   472           break;
   472           break;
   473         }
   473         }
   474 
   474 
       
   475         // For nodes that produce a FlagsProj, make the node adjacent to the
       
   476         // use of the FlagsProj
       
   477         if (use->is_FlagsProj() && get_block_for_node(use) == block) {
       
   478           found_machif = true;
       
   479           break;
       
   480         }
       
   481 
   475         // More than this instruction pending for successor to be ready,
   482         // More than this instruction pending for successor to be ready,
   476         // don't choose this if other opportunities are ready
   483         // don't choose this if other opportunities are ready
   477         if (ready_cnt.at(use->_idx) > 1)
   484         if (ready_cnt.at(use->_idx) > 1)
   478           n_choice = 1;
   485           n_choice = 1;
   479       }
   486       }