36 #include "vmreg_zero.inline.hpp"
37 #ifdef COMPILER1
38 #include "c1/c1_Runtime1.hpp"
39 #endif
40 #ifdef COMPILER2
41 #include "opto/runtime.hpp"
42 #endif
43
44
45 static address zero_null_code_stub() {
46 address start = ShouldNotCallThisStub();
47 return start;
48 }
49
50 int SharedRuntime::java_calling_convention(const BasicType *sig_bt,
51 VMRegPair *regs,
52 int total_args_passed) {
53 return 0;
54 }
55
56 AdapterHandlerEntry* SharedRuntime::generate_i2c2i_adapters(
57 MacroAssembler *masm,
58 int total_args_passed,
59 int comp_args_on_stack,
60 const BasicType *sig_bt,
61 const VMRegPair *regs,
62 AdapterFingerPrint *fingerprint) {
63 return AdapterHandlerLibrary::new_entry(
64 fingerprint,
65 CAST_FROM_FN_PTR(address,zero_null_code_stub),
66 CAST_FROM_FN_PTR(address,zero_null_code_stub),
67 CAST_FROM_FN_PTR(address,zero_null_code_stub));
68 }
69
70 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm,
71 const methodHandle& method,
72 int compile_id,
73 BasicType *sig_bt,
74 VMRegPair *regs,
75 BasicType ret_type) {
76 ShouldNotCallThis();
77 return nullptr;
78 }
79
80 int Deoptimization::last_frame_adjust(int callee_parameters,
81 int callee_locals) {
82 return 0;
83 }
84
85 uint SharedRuntime::out_preserve_stack_slots() {
|
36 #include "vmreg_zero.inline.hpp"
37 #ifdef COMPILER1
38 #include "c1/c1_Runtime1.hpp"
39 #endif
40 #ifdef COMPILER2
41 #include "opto/runtime.hpp"
42 #endif
43
44
45 static address zero_null_code_stub() {
46 address start = ShouldNotCallThisStub();
47 return start;
48 }
49
50 int SharedRuntime::java_calling_convention(const BasicType *sig_bt,
51 VMRegPair *regs,
52 int total_args_passed) {
53 return 0;
54 }
55
56 int SharedRuntime::java_return_convention(const BasicType *sig_bt,
57 VMRegPair *regs,
58 int total_args_passed) {
59 Unimplemented();
60 return 0;
61 }
62
63 BufferedInlineTypeBlob* SharedRuntime::generate_buffered_inline_type_adapter(const InlineKlass* vk) {
64 Unimplemented();
65 return NULL;
66 }
67
68 AdapterHandlerEntry* SharedRuntime::generate_i2c2i_adapters(MacroAssembler* masm,
69 int comp_args_on_stack,
70 const GrowableArray <SigEntry>* sig,
71 const VMRegPair* regs,
72 const GrowableArray <SigEntry>* sig_cc,
73 const VMRegPair* regs_cc,
74 const GrowableArray <SigEntry>* sig_cc_ro,
75 const VMRegPair* regs_cc_ro,
76 AdapterFingerPrint* fingerprint,
77 AdapterBlob*& new_adapter,
78 bool allocate_code_blob) {
79 if (allocate_code_blob) {
80 new_adapter = AdapterBlob::create(masm->code(), 0, 0, NULL);
81 }
82 return AdapterHandlerLibrary::new_entry(
83 fingerprint,
84 CAST_FROM_FN_PTR(address,zero_null_code_stub),
85 CAST_FROM_FN_PTR(address,zero_null_code_stub),
86 CAST_FROM_FN_PTR(address,zero_null_code_stub),
87 CAST_FROM_FN_PTR(address,zero_null_code_stub),
88 CAST_FROM_FN_PTR(address,zero_null_code_stub),
89 CAST_FROM_FN_PTR(address,zero_null_code_stub),
90 CAST_FROM_FN_PTR(address,zero_null_code_stub));
91 }
92
93 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm,
94 const methodHandle& method,
95 int compile_id,
96 BasicType *sig_bt,
97 VMRegPair *regs,
98 BasicType ret_type) {
99 ShouldNotCallThis();
100 return nullptr;
101 }
102
103 int Deoptimization::last_frame_adjust(int callee_parameters,
104 int callee_locals) {
105 return 0;
106 }
107
108 uint SharedRuntime::out_preserve_stack_slots() {
|