Blame SOURCES/webkitgtk-aarch64.patch

cde234
diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
cde234
index 3f6f2bd..fd253f5 100644
cde234
--- a/Source/WTF/wtf/Platform.h
cde234
+++ b/Source/WTF/wtf/Platform.h
cde234
@@ -314,7 +314,12 @@
cde234
 
cde234
 #endif /* ARM */
cde234
 
cde234
-#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC)
cde234
+/* CPU(AARCH64) - Aarch64 */
cde234
+#if defined(__aarch64__)
cde234
+#define WTF_CPU_AARCH64 1
cde234
+#endif
cde234
+
cde234
+#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC) || CPU(AARCH64)
cde234
 #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
cde234
 #endif
cde234
 
cde234
@@ -744,7 +749,8 @@
cde234
     || CPU(ALPHA) \
cde234
     || CPU(SPARC64) \
cde234
     || CPU(S390X) \
cde234
-    || CPU(PPC64)
cde234
+    || CPU(PPC64) \
cde234
+    || CPU(AARCH64)
cde234
 #define WTF_USE_JSVALUE64 1
cde234
 #else
cde234
 #define WTF_USE_JSVALUE32_64 1
cde234
diff --git a/Source/WTF/wtf/dtoa/utils.h b/Source/WTF/wtf/dtoa/utils.h
cde234
index ab8f251..d6a99f2 100644
cde234
--- a/Source/WTF/wtf/dtoa/utils.h
cde234
+++ b/Source/WTF/wtf/dtoa/utils.h
cde234
@@ -49,7 +49,7 @@
cde234
 defined(__ARMEL__) || \
cde234
 defined(_MIPS_ARCH_MIPS32R2)
cde234
 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
cde234
-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA)
cde234
+#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA) || CPU(AARCH64)
cde234
 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
cde234
 #elif defined(_M_IX86) || defined(__i386__)
cde234
 #if defined(_WIN32)