hotspot/src/share/vm/prims/methodHandles.hpp
changeset 35232 76aed99c0ddd
parent 35214 d86005e0b4c2
parent 35086 bbf32241d851
child 36074 11263906664c
--- a/hotspot/src/share/vm/prims/methodHandles.hpp	Mon Jan 04 13:57:34 2016 -0800
+++ b/hotspot/src/share/vm/prims/methodHandles.hpp	Thu Jan 07 21:10:28 2016 +0000
@@ -97,6 +97,10 @@
             iid <= vmIntrinsics::LAST_MH_SIG_POLY);
   }
 
+  static bool is_signature_polymorphic_method(Method* m) {
+    return is_signature_polymorphic(m->intrinsic_id());
+  }
+
   static bool is_signature_polymorphic_intrinsic(vmIntrinsics::ID iid) {
     assert(is_signature_polymorphic(iid), "");
     // Most sig-poly methods are intrinsics which do not require an
@@ -137,6 +141,8 @@
     return signature_polymorphic_name_id(klass, name) != vmIntrinsics::_none;
   }
 
+  static Bytecodes::Code signature_polymorphic_intrinsic_bytecode(vmIntrinsics::ID id);
+
   static int get_named_constant(int which, Handle name_box, TRAPS);
 
 public: