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() {
84 ShouldNotCallThis();
85 return 0;
86 }
87
88 JRT_LEAF(void, zero_stub())
89 ShouldNotCallThis();
90 JRT_END
91
92 static RuntimeStub* generate_empty_runtime_stub() {
93 return CAST_FROM_FN_PTR(RuntimeStub*,zero_stub);
94 }
95
96 static SafepointBlob* generate_empty_safepoint_blob() {
97 return CAST_FROM_FN_PTR(SafepointBlob*,zero_stub);
98 }
99
100 static DeoptimizationBlob* generate_empty_deopt_blob() {
101 return CAST_FROM_FN_PTR(DeoptimizationBlob*,zero_stub);
102 }
103
104 void SharedRuntime::generate_deopt_blob() {
105 _deopt_blob = generate_empty_deopt_blob();
106 }
107
|
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() {
84 ShouldNotCallThis();
85 return 0;
86 }
87
88 VMReg SharedRuntime::thread_register() {
89 Unimplemented();
90 return nullptr;
91 }
92
93 JRT_LEAF(void, zero_stub())
94 ShouldNotCallThis();
95 JRT_END
96
97 static RuntimeStub* generate_empty_runtime_stub() {
98 return CAST_FROM_FN_PTR(RuntimeStub*,zero_stub);
99 }
100
101 static SafepointBlob* generate_empty_safepoint_blob() {
102 return CAST_FROM_FN_PTR(SafepointBlob*,zero_stub);
103 }
104
105 static DeoptimizationBlob* generate_empty_deopt_blob() {
106 return CAST_FROM_FN_PTR(DeoptimizationBlob*,zero_stub);
107 }
108
109 void SharedRuntime::generate_deopt_blob() {
110 _deopt_blob = generate_empty_deopt_blob();
111 }
112
|