| Index: runtime/platform/globals.h
|
| ===================================================================
|
| --- runtime/platform/globals.h (revision 34648)
|
| +++ runtime/platform/globals.h (working copy)
|
| @@ -196,6 +196,7 @@
|
| #if !defined(TARGET_ARCH_ARM)
|
| #if !defined(TARGET_ARCH_X64)
|
| #if !defined(TARGET_ARCH_IA32)
|
| +#if !defined(TARGET_ARCH_ARM64)
|
| // No target architecture specified pick the one matching the host architecture.
|
| #if defined(HOST_ARCH_MIPS)
|
| #define TARGET_ARCH_MIPS 1
|
| @@ -205,6 +206,8 @@
|
| #define TARGET_ARCH_X64 1
|
| #elif defined(HOST_ARCH_IA32)
|
| #define TARGET_ARCH_IA32 1
|
| +#elif defined(HOST_ARCH_ARM64)
|
| +#define TARGET_ARCH_ARM64 1
|
| #else
|
| #error Automatic target architecture detection failed.
|
| #endif
|
| @@ -212,10 +215,12 @@
|
| #endif
|
| #endif
|
| #endif
|
| +#endif
|
|
|
| // Verify that host and target architectures match, we cannot
|
| // have a 64 bit Dart VM generating 32 bit code or vice-versa.
|
| -#if defined(TARGET_ARCH_X64)
|
| +#if defined(TARGET_ARCH_X64) || \
|
| + defined(TARGET_ARCH_ARM64)
|
| #if !defined(ARCH_IS_64_BIT)
|
| #error Mismatched Host/Target architectures.
|
| #endif
|
|
|