hotspot/src/share/vm/opto/loopTransform.cpp
changeset 35759 85d3873f87b4
parent 35574 2b25eb88c8d6
child 35838 a6e58eeeaa2e
--- a/hotspot/src/share/vm/opto/loopTransform.cpp	Wed Feb 03 09:09:56 2016 +0100
+++ b/hotspot/src/share/vm/opto/loopTransform.cpp	Wed Feb 03 10:58:50 2016 +0100
@@ -3048,7 +3048,7 @@
   // state of the loop.  It's safe in this case to replace it with the
   // result_mem.
   _igvn.replace_node(store->in(MemNode::Memory), result_mem);
-  _igvn.replace_node(exit, result_ctrl);
+  lazy_replace(exit, result_ctrl);
   _igvn.replace_node(store, result_mem);
   // Any uses the increment outside of the loop become the loop limit.
   _igvn.replace_node(head->incr(), head->limit());