diff src/share/vm/ci/ciMethodHandle.cpp @ 3388:a80577f854f9

7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp Reviewed-by: jrose
author never
date Tue, 17 May 2011 19:11:51 -0700
parents fabcf26ee72f
children f56542cb325a
line wrap: on
line diff
--- a/src/share/vm/ci/ciMethodHandle.cpp	Tue May 17 16:50:27 2011 +0200
+++ b/src/share/vm/ci/ciMethodHandle.cpp	Tue May 17 19:11:51 2011 -0700
@@ -43,7 +43,7 @@
   methodHandle callee(_callee->get_methodOop());
   // We catch all exceptions here that could happen in the method
   // handle compiler and stop the VM.
-  MethodHandleCompiler mhc(h, callee, _profile->count(), is_invokedynamic, THREAD);
+  MethodHandleCompiler mhc(h, callee->name(), callee->signature(), _profile->count(), is_invokedynamic, THREAD);
   if (!HAS_PENDING_EXCEPTION) {
     methodHandle m = mhc.compile(THREAD);
     if (!HAS_PENDING_EXCEPTION) {