--- a/hotspot/src/share/vm/opto/loopPredicate.cpp Mon May 06 19:49:23 2013 -0700
+++ b/hotspot/src/share/vm/opto/loopPredicate.cpp Wed May 08 15:08:01 2013 -0700
@@ -821,8 +821,8 @@
loop->dump_head();
}
#endif
- } else if (cl != NULL && loop->is_range_check_if(iff, this, invar)) {
- assert(proj->_con == predicate_proj->_con, "must match");
+ } else if ((cl != NULL) && (proj->_con == predicate_proj->_con) &&
+ loop->is_range_check_if(iff, this, invar)) {
// Range check for counted loops
const Node* cmp = bol->in(1)->as_Cmp();