| Index: runtime/vm/stack_frame_arm.h
|
| diff --git a/runtime/vm/stack_frame_arm.h b/runtime/vm/stack_frame_arm.h
|
| index ca89fb5726509a52b108a9bf6704a6df3281e416..a966a29b49783d8866557b03b9d7917afe818381 100644
|
| --- a/runtime/vm/stack_frame_arm.h
|
| +++ b/runtime/vm/stack_frame_arm.h
|
| @@ -43,14 +43,16 @@ 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)
|
| +#if defined(TARGET_ABI_IOS)
|
| static const int kExitLinkSlotFromEntryFp = -26;
|
| COMPILE_ASSERT(kAbiPreservedCpuRegCount == 6);
|
| COMPILE_ASSERT(kAbiPreservedFpuRegCount == 4);
|
| -#else
|
| +#elif defined(TARGET_ABI_EABI)
|
| static const int kExitLinkSlotFromEntryFp = -27;
|
| COMPILE_ASSERT(kAbiPreservedCpuRegCount == 7);
|
| COMPILE_ASSERT(kAbiPreservedFpuRegCount == 4);
|
| +#else
|
| +#error Unknown ABI
|
| #endif
|
|
|
| } // namespace dart
|
|
|