hotspot/src/share/vm/opto/cfgnode.cpp
changeset 9446 748a37b25d10
parent 9101 ff58f9a8e31c
child 9956 a3f4ad8fee9e
--- a/hotspot/src/share/vm/opto/cfgnode.cpp	Wed May 04 03:42:58 2011 -0700
+++ b/hotspot/src/share/vm/opto/cfgnode.cpp	Wed May 04 13:12:42 2011 -0700
@@ -1373,7 +1373,7 @@
 
   // Clone loop predicates
   if (predicate_proj != NULL) {
-    newn = igvn->clone_loop_predicates(predicate_proj, newn);
+    newn = igvn->clone_loop_predicates(predicate_proj, newn, !n->is_CountedLoop());
   }
 
   // Now I can point to the new node.