[vm] Replace TARGET_OS_IOS with TARGET_OS_MACOS_IOS

TEST=Manually tested in Flutter iOS build.

Closes https://github.com/dart-lang/sdk/issues/44230.

Change-Id: I47b3bb9eb1fe567e6f14b1c01548b0c0d9b2a683
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/173267
Auto-Submit: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
This commit is contained in:
Daco Harkes 2020-11-30 16:04:12 +00:00 committed by commit-bot@chromium.org
parent c755ef4ac6
commit ba5e72ebe4
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ Abi TargetAbi() {
#elif (defined(TARGET_ARCH_IA32) && /* NOLINT(whitespace/parens) */ \
(defined(TARGET_OS_LINUX) || defined(TARGET_OS_MACOS) || \
defined(TARGET_OS_ANDROID))) || \
(defined(TARGET_ARCH_ARM) && defined(TARGET_OS_IOS))
(defined(TARGET_ARCH_ARM) && defined(TARGET_OS_MACOS_IOS))
return Abi::kWordSize32Align32;
#elif defined(TARGET_ARCH_IA32) && defined(TARGET_OS_WINDOWS) || \
defined(TARGET_ARCH_ARM)

View file

@ -57,7 +57,7 @@ DEFINE_FLAG(bool,
"Use integer division instruction if supported");
#if defined(TARGET_HOST_MISMATCH)
#if defined(TARGET_OS_ANDROID) || defined(TARGET_OS_IOS)
#if defined(TARGET_OS_ANDROID) || defined(TARGET_OS_MACOS_IOS)
DEFINE_FLAG(bool, sim_use_hardfp, false, "Use the hardfp ABI.");
#else
DEFINE_FLAG(bool, sim_use_hardfp, true, "Use the hardfp ABI.");