72 fingerprint, 73 CAST_FROM_FN_PTR(address,zero_null_code_stub), 74 CAST_FROM_FN_PTR(address,zero_null_code_stub), 75 CAST_FROM_FN_PTR(address,zero_null_code_stub)); 76 } 77 78 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm, 79 methodHandle method, 80 int compile_id, 81 BasicType *sig_bt, 82 VMRegPair *regs, 83 BasicType ret_type) { 84 #ifdef SHARK 85 return SharkCompiler::compiler()->generate_native_wrapper(masm, 86 method, 87 compile_id, 88 sig_bt, 89 ret_type); 90 #else 91 ShouldNotCallThis(); 92 #endif // SHARK 93 } 94 95 int Deoptimization::last_frame_adjust(int callee_parameters, 96 int callee_locals) { 97 return 0; 98 } 99 100 uint SharedRuntime::out_preserve_stack_slots() { 101 ShouldNotCallThis(); 102 } 103 104 JRT_LEAF(void, zero_stub()) 105 ShouldNotCallThis(); 106 JRT_END 107 108 static RuntimeStub* generate_empty_runtime_stub(const char* name) { 109 return CAST_FROM_FN_PTR(RuntimeStub*,zero_stub); 110 } 111 112 static SafepointBlob* generate_empty_safepoint_blob() { 113 return CAST_FROM_FN_PTR(SafepointBlob*,zero_stub); 114 } 115 116 static DeoptimizationBlob* generate_empty_deopt_blob() { 117 return CAST_FROM_FN_PTR(DeoptimizationBlob*,zero_stub); 118 } 119 120 121 void SharedRuntime::generate_deopt_blob() { 122 _deopt_blob = generate_empty_deopt_blob(); 123 } 124 125 SafepointBlob* SharedRuntime::generate_handler_blob(address call_ptr, int poll_type) { 126 return generate_empty_safepoint_blob(); 127 } 128 129 RuntimeStub* SharedRuntime::generate_resolve_blob(address destination, const char* name) { 130 return generate_empty_runtime_stub("resolve_blob"); 131 } 132 133 134 int SharedRuntime::c_calling_convention(const BasicType *sig_bt, 135 VMRegPair *regs, 136 int total_args_passed) { 137 ShouldNotCallThis(); 138 } | 72 fingerprint, 73 CAST_FROM_FN_PTR(address,zero_null_code_stub), 74 CAST_FROM_FN_PTR(address,zero_null_code_stub), 75 CAST_FROM_FN_PTR(address,zero_null_code_stub)); 76 } 77 78 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm, 79 methodHandle method, 80 int compile_id, 81 BasicType *sig_bt, 82 VMRegPair *regs, 83 BasicType ret_type) { 84 #ifdef SHARK 85 return SharkCompiler::compiler()->generate_native_wrapper(masm, 86 method, 87 compile_id, 88 sig_bt, 89 ret_type); 90 #else 91 ShouldNotCallThis(); 92 return NULL; 93 #endif // SHARK 94 } 95 96 int Deoptimization::last_frame_adjust(int callee_parameters, 97 int callee_locals) { 98 return 0; 99 } 100 101 uint SharedRuntime::out_preserve_stack_slots() { 102 ShouldNotCallThis(); 103 return 0; 104 } 105 106 JRT_LEAF(void, zero_stub()) 107 ShouldNotCallThis(); 108 JRT_END 109 110 static RuntimeStub* generate_empty_runtime_stub(const char* name) { 111 return CAST_FROM_FN_PTR(RuntimeStub*,zero_stub); 112 } 113 114 static SafepointBlob* generate_empty_safepoint_blob() { 115 return CAST_FROM_FN_PTR(SafepointBlob*,zero_stub); 116 } 117 118 static DeoptimizationBlob* generate_empty_deopt_blob() { 119 return CAST_FROM_FN_PTR(DeoptimizationBlob*,zero_stub); 120 } 121 122 123 void SharedRuntime::generate_deopt_blob() { 124 _deopt_blob = generate_empty_deopt_blob(); 125 } 126 127 SafepointBlob* SharedRuntime::generate_handler_blob(address call_ptr, int poll_type) { 128 return generate_empty_safepoint_blob(); 129 } 130 131 RuntimeStub* SharedRuntime::generate_resolve_blob(address destination, const char* name) { 132 return generate_empty_runtime_stub("resolve_blob"); 133 } 134 135 136 int SharedRuntime::c_calling_convention(const BasicType *sig_bt, 137 VMRegPair *regs, 138 int total_args_passed) { 139 ShouldNotCallThis(); 140 return 0; 141 } |