Index: runtime/vm/stack_frame_arm64.h |
diff --git a/runtime/vm/stack_frame_arm64.h b/runtime/vm/stack_frame_arm64.h |
index 6733724c1c285fcfe50317dae4fe16eb0a4c192c..a48be15c81c5d7dcba1d4a8a5769fa36174a97e7 100644 |
--- a/runtime/vm/stack_frame_arm64.h |
+++ b/runtime/vm/stack_frame_arm64.h |
@@ -44,7 +44,9 @@ static const int kCallerSpSlotFromFp = 2; |
static const int kSavedAboveReturnAddress = 3; // Saved above return address. |
// Entry and exit frame layout. |
-static const int kExitLinkSlotFromEntryFp = -22; |
+static const int kExitLinkSlotFromEntryFp = -21; |
+COMPILE_ASSERT(kAbiPreservedCpuRegCount == 9); |
+COMPILE_ASSERT(kAbiPreservedFpuRegCount == 8); |
} // namespace dart |