Index: runtime/vm/signal_handler_macos.cc |
diff --git a/runtime/vm/signal_handler_macos.cc b/runtime/vm/signal_handler_macos.cc |
index addabb9eb806e79678a85b78ecfeacae20d5e4a9..8167b81bbd290c91f286a220e02c6aaaf581eb84 100644 |
--- a/runtime/vm/signal_handler_macos.cc |
+++ b/runtime/vm/signal_handler_macos.cc |
@@ -4,8 +4,8 @@ |
#include "vm/globals.h" |
#include "vm/instructions.h" |
-#include "vm/simulator.h" |
#include "vm/signal_handler.h" |
+#include "vm/simulator.h" |
#if defined(HOST_OS_MACOS) |
namespace dart { |
@@ -28,7 +28,6 @@ uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) { |
return pc; |
} |
- |
uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) { |
uintptr_t fp = 0; |
@@ -47,7 +46,6 @@ uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) { |
return fp; |
} |
- |
uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) { |
uintptr_t sp = 0; |
@@ -66,7 +64,6 @@ uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) { |
return sp; |
} |
- |
uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) { |
#if defined(TARGET_ARCH_ARM64) && !defined(USING_SIMULATOR) |
return static_cast<uintptr_t>(mcontext->__ss.__x[SPREG]); |
@@ -75,7 +72,6 @@ uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) { |
#endif |
} |
- |
uintptr_t SignalHandler::GetLinkRegister(const mcontext_t& mcontext) { |
uintptr_t lr = 0; |
@@ -94,7 +90,6 @@ uintptr_t SignalHandler::GetLinkRegister(const mcontext_t& mcontext) { |
return lr; |
} |
- |
void SignalHandler::InstallImpl(SignalAction action) { |
struct sigaction act; |
act.sa_handler = NULL; |
@@ -105,7 +100,6 @@ void SignalHandler::InstallImpl(SignalAction action) { |
ASSERT(r == 0); |
} |
- |
void SignalHandler::Remove() { |
// Ignore future SIGPROF signals because by default SIGPROF will terminate |
// the process and we may have some signals in flight. |
@@ -117,7 +111,6 @@ void SignalHandler::Remove() { |
ASSERT(r == 0); |
} |
- |
} // namespace dart |
#endif // defined(HOST_OS_MACOS) |