--- old/src/share/vm/opto/lcm.cpp 2014-01-23 12:10:11.775190603 +0100 +++ new/src/share/vm/opto/lcm.cpp 2014-01-23 12:10:11.671190607 +0100 @@ -472,13 +472,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)