hotspot/src/share/vm/opto/macro.cpp
changeset 2127 268ea58ed775
parent 2110 40e42c95ac39
child 2131 98f9cef66a34
--- a/hotspot/src/share/vm/opto/macro.cpp	Wed Feb 25 14:36:27 2009 -0800
+++ b/hotspot/src/share/vm/opto/macro.cpp	Thu Feb 26 14:26:02 2009 -0800
@@ -64,6 +64,7 @@
       uint old_unique = C->unique();
       Node* new_in = old_sosn->clone(jvms_adj, sosn_map);
       if (old_unique != C->unique()) {
+        new_in->set_req(0, newcall->in(0)); // reset control edge
         new_in = transform_later(new_in); // Register new node.
       }
       old_in = new_in;