< prev index next >

src/hotspot/cpu/x86/methodHandles_x86.hpp

Print this page

38                            Register obj, vmClassID klass_id,
39                            const char* error_message = "wrong klass") NOT_DEBUG_RETURN;
40 
41   static void verify_method_handle(MacroAssembler* _masm, Register mh_reg) {
42     verify_klass(_masm, mh_reg, VM_CLASS_ID(MethodHandle_klass),
43                  "reference is a MH");
44   }
45 
46   static void verify_ref_kind(MacroAssembler* _masm, int ref_kind, Register member_reg, Register temp) NOT_DEBUG_RETURN;
47 
48   // Similar to InterpreterMacroAssembler::jump_from_interpreted.
49   // Takes care of special dispatch from single stepping too.
50   static void jump_from_method_handle(MacroAssembler* _masm, Register method, Register temp,
51                                       bool for_compiler_entry);
52 
53   static void jump_to_lambda_form(MacroAssembler* _masm,
54                                   Register recv, Register method_temp,
55                                   Register temp2,
56                                   bool for_compiler_entry);
57 



58   static Register saved_last_sp_register() {
59     // Should be in sharedRuntime, not here.
60     return LP64_ONLY(r13) NOT_LP64(rsi);
61   }

38                            Register obj, vmClassID klass_id,
39                            const char* error_message = "wrong klass") NOT_DEBUG_RETURN;
40 
41   static void verify_method_handle(MacroAssembler* _masm, Register mh_reg) {
42     verify_klass(_masm, mh_reg, VM_CLASS_ID(MethodHandle_klass),
43                  "reference is a MH");
44   }
45 
46   static void verify_ref_kind(MacroAssembler* _masm, int ref_kind, Register member_reg, Register temp) NOT_DEBUG_RETURN;
47 
48   // Similar to InterpreterMacroAssembler::jump_from_interpreted.
49   // Takes care of special dispatch from single stepping too.
50   static void jump_from_method_handle(MacroAssembler* _masm, Register method, Register temp,
51                                       bool for_compiler_entry);
52 
53   static void jump_to_lambda_form(MacroAssembler* _masm,
54                                   Register recv, Register method_temp,
55                                   Register temp2,
56                                   bool for_compiler_entry);
57 
58   static void jump_to_native_invoker(MacroAssembler* _masm,
59                                      Register nep_reg, Register temp);
60 
61   static Register saved_last_sp_register() {
62     // Should be in sharedRuntime, not here.
63     return LP64_ONLY(r13) NOT_LP64(rsi);
64   }
< prev index next >