hotspot/src/share/vm/prims/methodHandles.hpp
changeset 7712 cee30a0f4315
parent 7397 5b173b4ca846
child 7887 7aa0354cbf25
equal deleted inserted replaced
7711:59d53a41b3e7 7712:cee30a0f4315
   292                               int skip, objArrayOop results);
   292                               int skip, objArrayOop results);
   293   // bit values for suppress argument to expand_MemberName:
   293   // bit values for suppress argument to expand_MemberName:
   294   enum { _suppress_defc = 1, _suppress_name = 2, _suppress_type = 4 };
   294   enum { _suppress_defc = 1, _suppress_name = 2, _suppress_type = 4 };
   295 
   295 
   296   // Generate MethodHandles adapters.
   296   // Generate MethodHandles adapters.
   297   static void generate_adapters();
   297   static void generate_adapters(TRAPS);
   298 
   298 
   299   // Called from InterpreterGenerator and MethodHandlesAdapterGenerator.
   299   // Called from InterpreterGenerator and MethodHandlesAdapterGenerator.
   300   static address generate_method_handle_interpreter_entry(MacroAssembler* _masm);
   300   static address generate_method_handle_interpreter_entry(MacroAssembler* _masm);
   301   static void generate_method_handle_stub(MacroAssembler* _masm, EntryKind ek);
   301   static void generate_method_handle_stub(MacroAssembler* _masm, EntryKind ek, TRAPS);
   302 
   302 
   303   // argument list parsing
   303   // argument list parsing
   304   static int argument_slot(oop method_type, int arg);
   304   static int argument_slot(oop method_type, int arg);
   305   static int argument_slot_count(oop method_type) { return argument_slot(method_type, -1); }
   305   static int argument_slot_count(oop method_type) { return argument_slot(method_type, -1); }
   306   static int argument_slot_to_argnum(oop method_type, int argslot);
   306   static int argument_slot_to_argnum(oop method_type, int argslot);
   528 //
   528 //
   529 class MethodHandlesAdapterGenerator : public StubCodeGenerator {
   529 class MethodHandlesAdapterGenerator : public StubCodeGenerator {
   530 public:
   530 public:
   531   MethodHandlesAdapterGenerator(CodeBuffer* code) : StubCodeGenerator(code) {}
   531   MethodHandlesAdapterGenerator(CodeBuffer* code) : StubCodeGenerator(code) {}
   532 
   532 
   533   void generate();
   533   void generate(TRAPS);
   534 };
   534 };
   535 
   535 
   536 #endif // SHARE_VM_PRIMS_METHODHANDLES_HPP
   536 #endif // SHARE_VM_PRIMS_METHODHANDLES_HPP