hotspot/src/share/vm/c1/c1_GraphBuilder.cpp
changeset 6751 b399fd234e47
parent 6745 a34ef8968a84
child 7397 5b173b4ca846
--- a/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp	Wed Sep 29 18:53:28 2010 +0200
+++ b/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp	Wed Sep 29 16:53:42 2010 -0700
@@ -3405,7 +3405,7 @@
       profile_call(recv, holder_known ? callee->holder() : NULL);
     }
     if (profile_inlined_calls()) {
-      profile_invocation(callee, state(), 0);
+      profile_invocation(callee, copy_state_before());
     }
   }
 
@@ -3780,6 +3780,6 @@
   append(new ProfileCall(method(), bci(), recv, known_holder));
 }
 
-void GraphBuilder::profile_invocation(ciMethod* callee, ValueStack* state, int bci) {
-  append(new ProfileInvoke(callee, state, bci));
+void GraphBuilder::profile_invocation(ciMethod* callee, ValueStack* state) {
+  append(new ProfileInvoke(callee, state));
 }