--- old/src/share/vm/opto/lcm.cpp 2014-01-30 13:51:34.025911096 +0100 +++ new/src/share/vm/opto/lcm.cpp 2014-01-30 13:51:33.925911099 +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)