hotspot/src/share/vm/opto/loopopts.cpp
changeset 24954 9bd47e3d7c69
parent 24939 6c994cc056ef
child 25913 81dbc151e91c
--- a/hotspot/src/share/vm/opto/loopopts.cpp	Wed Jun 11 11:05:10 2014 -0700
+++ b/hotspot/src/share/vm/opto/loopopts.cpp	Thu Jun 12 10:15:43 2014 -0700
@@ -2771,11 +2771,11 @@
       // Hit!  Refactor use to use the post-incremented tripcounter.
       // Compute a post-increment tripcounter.
       Node *opaq = new Opaque2Node( C, cle->incr() );
-      register_new_node( opaq, u_ctrl );
+      register_new_node(opaq, exit);
       Node *neg_stride = _igvn.intcon(-cle->stride_con());
       set_ctrl(neg_stride, C->root());
       Node *post = new AddINode( opaq, neg_stride);
-      register_new_node( post, u_ctrl );
+      register_new_node(post, exit);
       _igvn.rehash_node_delayed(use);
       for (uint j = 1; j < use->req(); j++) {
         if (use->in(j) == phi)