--- old/src/share/vm/opto/lcm.cpp 2014-02-10 13:04:40.352902818 +0100 +++ new/src/share/vm/opto/lcm.cpp 2014-02-10 13:04:40.252902822 +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)