diff src/share/vm/c1/c1_LIR.hpp @ 1507:cd5dbf694d45

6939134: JSR 292 adjustments to method handle invocation Summary: split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces Reviewed-by: twisti
author jrose
date Sat, 01 May 2010 02:42:18 -0700
parents 9f5b60a14736
children c18cbe5936b8 61b2245abf36
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIR.hpp	Fri Apr 30 08:37:24 2010 -0700
+++ b/src/share/vm/c1/c1_LIR.hpp	Sat May 01 02:42:18 2010 -0700
@@ -1062,7 +1062,7 @@
       is_invokedynamic()  // An invokedynamic is always a MethodHandle call site.
       ||
       (method()->holder()->name() == ciSymbol::java_dyn_MethodHandle() &&
-       method()->name()           == ciSymbol::invoke_name());
+       methodOopDesc::is_method_handle_invoke_name(method()->name()->sid()));
   }
 
   intptr_t vtable_offset() const {