Index: runtime/vm/stack_frame_arm.h |
diff --git a/runtime/vm/stack_frame_arm.h b/runtime/vm/stack_frame_arm.h |
index b3374f50b98ef109ac4911b883b86b670183a4d2..ca89fb5726509a52b108a9bf6704a6df3281e416 100644 |
--- a/runtime/vm/stack_frame_arm.h |
+++ b/runtime/vm/stack_frame_arm.h |
@@ -43,9 +43,15 @@ static const int kParamEndSlotFromFp = 1; // One slot past last parameter. |
static const int kCallerSpSlotFromFp = 2; |
// Entry and exit frame layout. |
+#if defined(TARGET_OS_MAC) |
+static const int kExitLinkSlotFromEntryFp = -26; |
+COMPILE_ASSERT(kAbiPreservedCpuRegCount == 6); |
+COMPILE_ASSERT(kAbiPreservedFpuRegCount == 4); |
+#else |
static const int kExitLinkSlotFromEntryFp = -27; |
COMPILE_ASSERT(kAbiPreservedCpuRegCount == 7); |
COMPILE_ASSERT(kAbiPreservedFpuRegCount == 4); |
+#endif |
} // namespace dart |