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