Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 85b5e6b1795897841903399636ab39ed0fc33c86..db666d804b1039e0a61dce21c55302d5e7a4a174 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -72,7 +72,7 @@ namespace internal { |
#define V8_HOST_ARCH_32_BIT 1 |
#define V8_HOST_CAN_READ_UNALIGNED 1 |
#elif defined(__AARCH64EL__) |
-#define V8_HOST_ARCH_A64 1 |
+#define V8_HOST_ARCH_ARM64 1 |
#define V8_HOST_ARCH_64_BIT 1 |
#define V8_HOST_CAN_READ_UNALIGNED 1 |
#elif defined(__ARMEL__) |
@@ -99,13 +99,13 @@ namespace internal { |
// in the same way as the host architecture, that is, target the native |
// environment as presented by the compiler. |
#if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_IA32 && \ |
- !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_A64 && !V8_TARGET_ARCH_MIPS |
+ !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS |
#if defined(_M_X64) || defined(__x86_64__) |
#define V8_TARGET_ARCH_X64 1 |
#elif defined(_M_IX86) || defined(__i386__) |
#define V8_TARGET_ARCH_IA32 1 |
#elif defined(__AARCH64EL__) |
-#define V8_TARGET_ARCH_A64 1 |
+#define V8_TARGET_ARCH_ARM64 1 |
#elif defined(__ARMEL__) |
#define V8_TARGET_ARCH_ARM 1 |
#elif defined(__MIPSEL__) |
@@ -125,8 +125,8 @@ namespace internal { |
#if (V8_TARGET_ARCH_ARM && !(V8_HOST_ARCH_IA32 || V8_HOST_ARCH_ARM)) |
#error Target architecture arm is only supported on arm and ia32 host |
#endif |
-#if (V8_TARGET_ARCH_A64 && !(V8_HOST_ARCH_X64 || V8_HOST_ARCH_A64)) |
-#error Target architecture a64 is only supported on a64 and x64 host |
+#if (V8_TARGET_ARCH_ARM64 && !(V8_HOST_ARCH_X64 || V8_HOST_ARCH_ARM64)) |
+#error Target architecture arm64 is only supported on arm64 and x64 host |
#endif |
#if (V8_TARGET_ARCH_MIPS && !(V8_HOST_ARCH_IA32 || V8_HOST_ARCH_MIPS)) |
#error Target architecture mips is only supported on mips and ia32 host |
@@ -136,7 +136,7 @@ namespace internal { |
// Setting USE_SIMULATOR explicitly from the build script will force |
// the use of a simulated environment. |
#if !defined(USE_SIMULATOR) |
-#if (V8_TARGET_ARCH_A64 && !V8_HOST_ARCH_A64) |
+#if (V8_TARGET_ARCH_ARM64 && !V8_HOST_ARCH_ARM64) |
#define USE_SIMULATOR 1 |
#endif |
#if (V8_TARGET_ARCH_ARM && !V8_HOST_ARCH_ARM) |
@@ -154,7 +154,7 @@ namespace internal { |
#define V8_TARGET_LITTLE_ENDIAN 1 |
#elif V8_TARGET_ARCH_ARM |
#define V8_TARGET_LITTLE_ENDIAN 1 |
-#elif V8_TARGET_ARCH_A64 |
+#elif V8_TARGET_ARCH_ARM64 |
#define V8_TARGET_LITTLE_ENDIAN 1 |
#elif V8_TARGET_ARCH_MIPS |
#define V8_TARGET_LITTLE_ENDIAN 1 |