1.1 --- a/src/share/vm/opto/parse1.cpp Wed May 04 03:42:58 2011 -0700 1.2 +++ b/src/share/vm/opto/parse1.cpp Wed May 04 13:12:42 2011 -0700 1.3 @@ -638,7 +638,7 @@ 1.4 ensure_phis_everywhere(); 1.5 1.6 if (block->is_SEL_head() && 1.7 - UseLoopPredicate) { 1.8 + (UseLoopPredicate || LoopLimitCheck)) { 1.9 // Add predicate to single entry (not irreducible) loop head. 1.10 assert(!block->has_merged_backedge(), "only entry paths should be merged for now"); 1.11 // Need correct bci for predicate.