src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp
changeset 57710 05ff6e27de45
parent 57565 01bca26734bb
child 58273 08a5148e7c4e
equal deleted inserted replaced
57709:155b084cf384 57710:05ff6e27de45
  1246 nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
  1246 nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
  1247                                                 const methodHandle& method,
  1247                                                 const methodHandle& method,
  1248                                                 int compile_id,
  1248                                                 int compile_id,
  1249                                                 BasicType* in_sig_bt,
  1249                                                 BasicType* in_sig_bt,
  1250                                                 VMRegPair* in_regs,
  1250                                                 VMRegPair* in_regs,
  1251                                                 BasicType ret_type) {
  1251                                                 BasicType ret_type,
       
  1252                                                 address critical_entry) {
  1252   if (method->is_method_handle_intrinsic()) {
  1253   if (method->is_method_handle_intrinsic()) {
  1253     vmIntrinsics::ID iid = method->intrinsic_id();
  1254     vmIntrinsics::ID iid = method->intrinsic_id();
  1254     intptr_t start = (intptr_t)__ pc();
  1255     intptr_t start = (intptr_t)__ pc();
  1255     int vep_offset = ((intptr_t)__ pc()) - start;
  1256     int vep_offset = ((intptr_t)__ pc()) - start;
  1256 
  1257 
  1272                                        in_ByteSize(-1),
  1273                                        in_ByteSize(-1),
  1273                                        in_ByteSize(-1),
  1274                                        in_ByteSize(-1),
  1274                                        (OopMapSet*)NULL);
  1275                                        (OopMapSet*)NULL);
  1275   }
  1276   }
  1276   bool is_critical_native = true;
  1277   bool is_critical_native = true;
  1277   address native_func = method->critical_native_function();
  1278   address native_func = critical_entry;
  1278   if (native_func == NULL) {
  1279   if (native_func == NULL) {
  1279     native_func = method->native_function();
  1280     native_func = method->native_function();
  1280     is_critical_native = false;
  1281     is_critical_native = false;
  1281   }
  1282   }
  1282   assert(native_func != NULL, "must have function");
  1283   assert(native_func != NULL, "must have function");