Index: runtime/vm/signal_handler_linux.cc |
diff --git a/runtime/vm/signal_handler_linux.cc b/runtime/vm/signal_handler_linux.cc |
index 45fa50de5b6ae4c90eb7b0c144f5ef39496d074a..b49f90a767826b23394fb110b484797c1c2ee2c3 100644 |
--- a/runtime/vm/signal_handler_linux.cc |
+++ b/runtime/vm/signal_handler_linux.cc |
@@ -72,7 +72,7 @@ uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) { |
uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) { |
#if defined(TARGET_ARCH_ARM64) && !defined(USING_SIMULATOR) |
- return static_cast<uintptr_t>(mcontext.regs[18]); |
+ return static_cast<uintptr_t>(mcontext.regs[19]); |
#else |
return GetCStackPointer(mcontext); |
#endif |