hotspot/src/share/vm/opto/lcm.cpp
changeset 22911 ff49c48c887d
parent 22872 b6902ee5bc8d
child 24923 9631f7d691dc
--- a/hotspot/src/share/vm/opto/lcm.cpp	Mon Feb 24 15:12:26 2014 -0800
+++ b/hotspot/src/share/vm/opto/lcm.cpp	Thu Jan 23 12:08:28 2014 +0100
@@ -520,13 +520,6 @@
           break;
         }
 
-        // For nodes that produce a FlagsProj, make the node adjacent to the
-        // use of the FlagsProj
-        if (use->is_FlagsProj() && get_block_for_node(use) == block) {
-          found_machif = true;
-          break;
-        }
-
         // More than this instruction pending for successor to be ready,
         // don't choose this if other opportunities are ready
         if (ready_cnt.at(use->_idx) > 1)