hotspot/src/share/vm/opto/loopTransform.cpp
changeset 6770 a67870aaedb3
parent 6739 750998abc20f
child 7397 5b173b4ca846
--- a/hotspot/src/share/vm/opto/loopTransform.cpp	Wed Oct 06 14:18:32 2010 -0700
+++ b/hotspot/src/share/vm/opto/loopTransform.cpp	Thu Oct 07 21:40:55 2010 -0700
@@ -2684,7 +2684,14 @@
                                                       fill_name, TypeAryPtr::get_array_body_type(t));
   call->init_req(TypeFunc::Parms+0, from);
   call->init_req(TypeFunc::Parms+1, store_value);
+#ifdef _LP64
+  len = new (C, 2) ConvI2LNode(len);
+  _igvn.register_new_node_with_optimizer(len);
+#endif
   call->init_req(TypeFunc::Parms+2, len);
+#ifdef _LP64
+  call->init_req(TypeFunc::Parms+3, C->top());
+#endif
   call->init_req( TypeFunc::Control, head->init_control());
   call->init_req( TypeFunc::I_O    , C->top() )        ;   // does no i/o
   call->init_req( TypeFunc::Memory ,  mem_phi->in(LoopNode::EntryControl) );