Index: runtime/vm/simulator_arm64.cc |
diff --git a/runtime/vm/simulator_arm64.cc b/runtime/vm/simulator_arm64.cc |
index a19311d8223d28f3e91c20213ddebdda527cf3d8..cef6aa241fc6750f1d70276fe65e32f599d56340 100644 |
--- a/runtime/vm/simulator_arm64.cc |
+++ b/runtime/vm/simulator_arm64.cc |
@@ -1611,7 +1611,7 @@ void Simulator::DoRedirectedCall(Instr* instr) { |
(redirection->call_kind() == kBootstrapNativeCall) || |
(redirection->call_kind() == kNativeCall)) { |
// Set the top_exit_frame_info of this simulator to the native stack. |
- set_top_exit_frame_info(Isolate::GetCurrentStackPointer()); |
+ set_top_exit_frame_info(Thread::GetCurrentStackPointer()); |
} |
if (redirection->call_kind() == kRuntimeCall) { |
NativeArguments* arguments = |