< prev index next >

src/hotspot/cpu/zero/sharedRuntime_zero.cpp

Print this page

 37 
 38 #ifdef COMPILER1
 39 #include "c1/c1_Runtime1.hpp"
 40 #endif
 41 #ifdef COMPILER2
 42 #include "opto/runtime.hpp"
 43 #endif
 44 
 45 
 46 static address zero_null_code_stub() {
 47   address start = ShouldNotCallThisStub();
 48   return start;
 49 }
 50 
 51 int SharedRuntime::java_calling_convention(const BasicType *sig_bt,
 52                                            VMRegPair *regs,
 53                                            int total_args_passed) {
 54   return 0;
 55 }
 56 
 57 AdapterHandlerEntry* SharedRuntime::generate_i2c2i_adapters(
 58                         MacroAssembler *masm,
 59                         int total_args_passed,
 60                         int comp_args_on_stack,
 61                         const BasicType *sig_bt,
 62                         const VMRegPair *regs,
 63                         AdapterFingerPrint *fingerprint) {



















 64   return AdapterHandlerLibrary::new_entry(
 65     fingerprint,
 66     CAST_FROM_FN_PTR(address,zero_null_code_stub),
 67     CAST_FROM_FN_PTR(address,zero_null_code_stub),




 68     CAST_FROM_FN_PTR(address,zero_null_code_stub));
 69 }
 70 
 71 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm,
 72                                                 const methodHandle& method,
 73                                                 int compile_id,
 74                                                 BasicType *sig_bt,
 75                                                 VMRegPair *regs,
 76                                                 BasicType ret_type,
 77                                                 address critical_entry) {
 78   ShouldNotCallThis();
 79   return NULL;
 80 }
 81 
 82 int Deoptimization::last_frame_adjust(int callee_parameters,
 83                                       int callee_locals) {
 84   return 0;
 85 }
 86 
 87 uint SharedRuntime::out_preserve_stack_slots() {

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