Index: runtime/vm/stub_code_arm.cc |
diff --git a/runtime/vm/stub_code_arm.cc b/runtime/vm/stub_code_arm.cc |
index 8e85852851d1c2be261e31e827fa002ed8c1adfe..e4e32ce34fb0a25a5c37f4b25eb7c8a597b71808 100644 |
--- a/runtime/vm/stub_code_arm.cc |
+++ b/runtime/vm/stub_code_arm.cc |
@@ -772,9 +772,9 @@ void StubCode::GenerateInvokeDartCodeStub(Assembler* assembler) { |
// kExitLinkSlotFromEntryFp must be kept in sync with the code below. |
__ Push(R4); |
-#if defined(TARGET_OS_MAC) |
+#if defined(TARGET_ABI_IOS) |
ASSERT(kExitLinkSlotFromEntryFp == -26); |
-#else |
+#elif defined(TARGET_ABI_EABI) |
ASSERT(kExitLinkSlotFromEntryFp == -27); |
#endif |
__ Push(R9); |