hotspot/src/share/vm/opto/loopopts.cpp
changeset 1433 ee60bd139c07
parent 1399 9648dfd4ce09
child 2131 98f9cef66a34
--- a/hotspot/src/share/vm/opto/loopopts.cpp	Thu Oct 02 08:37:44 2008 -0700
+++ b/hotspot/src/share/vm/opto/loopopts.cpp	Fri Oct 03 13:58:20 2008 -0700
@@ -1903,9 +1903,6 @@
       // Use in a phi is considered a use in the associated predecessor block
       use_c = use->in(0)->in(j);
     }
-    if (use_c->is_CountedLoop()) {
-      use_c = use_c->in(LoopNode::EntryControl);
-    }
     set_ctrl(n_clone, use_c);
     assert(!loop->is_member(get_loop(use_c)), "should be outside loop");
     get_loop(use_c)->_body.push(n_clone);