diff src/share/vm/oops/methodOop.hpp @ 1515:ef1a1d051971

Merge
author jrose
date Wed, 12 May 2010 22:06:02 -0700
parents cd5dbf694d45
children c18cbe5936b8
line wrap: on
line diff
--- a/src/share/vm/oops/methodOop.hpp	Tue May 11 17:41:11 2010 -0700
+++ b/src/share/vm/oops/methodOop.hpp	Wed May 12 22:06:02 2010 -0700
@@ -525,11 +525,16 @@
 
   // JSR 292 support
   bool is_method_handle_invoke() const              { return access_flags().is_method_handle_invoke(); }
+  static bool is_method_handle_invoke_name(vmSymbols::SID name_sid);
+  static bool is_method_handle_invoke_name(symbolOop name) {
+    return is_method_handle_invoke_name(vmSymbols::find_sid(name));
+  }
   // Tests if this method is an internal adapter frame from the
   // MethodHandleCompiler.
   bool is_method_handle_adapter() const;
   static methodHandle make_invoke_method(KlassHandle holder,
-                                         symbolHandle signature,
+                                         symbolHandle name, //invokeExact or invokeGeneric
+                                         symbolHandle signature, //anything at all
                                          Handle method_type,
                                          TRAPS);
   // these operate only on invoke methods: