hotspot/src/share/vm/opto/loopPredicate.cpp
changeset 10263 fa58671dde31
parent 10258 10c77b8c8d3e
child 12958 009b6c9586d8
--- a/hotspot/src/share/vm/opto/loopPredicate.cpp	Tue Aug 02 18:36:40 2011 +0200
+++ b/hotspot/src/share/vm/opto/loopPredicate.cpp	Wed Aug 10 14:06:57 2011 -0700
@@ -718,7 +718,7 @@
   }
 
   CountedLoopNode *cl = NULL;
-  if (head->is_CountedLoop()) {
+  if (head->is_valid_counted_loop()) {
     cl = head->as_CountedLoop();
     // do nothing for iteration-splitted loops
     if (!cl->is_normal_loop()) return false;