src/hotspot/cpu/sparc/sharedRuntime_sparc.cpp
changeset 57710 05ff6e27de45
parent 54847 59ea39bb2809
child 57777 90ead0febf56
--- a/src/hotspot/cpu/sparc/sharedRuntime_sparc.cpp	Mon Aug 12 08:48:47 2019 +0200
+++ b/src/hotspot/cpu/sparc/sharedRuntime_sparc.cpp	Mon Aug 12 10:02:25 2019 +0200
@@ -1751,7 +1751,8 @@
                                                 int compile_id,
                                                 BasicType* in_sig_bt,
                                                 VMRegPair* in_regs,
-                                                BasicType ret_type) {
+                                                BasicType ret_type,
+                                                address critical_entry) {
   if (method->is_method_handle_intrinsic()) {
     vmIntrinsics::ID iid = method->intrinsic_id();
     intptr_t start = (intptr_t)__ pc();
@@ -1774,7 +1775,7 @@
                                        (OopMapSet*)NULL);
   }
   bool is_critical_native = true;
-  address native_func = method->critical_native_function();
+  address native_func = critical_entry;
   if (native_func == NULL) {
     native_func = method->native_function();
     is_critical_native = false;