diff src/share/vm/ci/ciMethodHandle.cpp @ 3441:f56542cb325a

7050554: JSR 292 - need optimization for selectAlternative Reviewed-by: kvn, jrose
author never
date Thu, 02 Jun 2011 13:36:11 -0700
parents a80577f854f9
children 81d815b05abb
line wrap: on
line diff
--- a/src/share/vm/ci/ciMethodHandle.cpp	Fri Jun 03 17:09:33 2011 -0700
+++ b/src/share/vm/ci/ciMethodHandle.cpp	Thu Jun 02 13:36:11 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->name(), callee->signature(), _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) {