Title: [181462] trunk/Source/WTF
Revision
181462
Author
[email protected]
Date
2015-03-12 17:40:46 -0700 (Thu, 12 Mar 2015)

Log Message

Disable Yarr JIT for ARMv7k
https://bugs.webkit.org/show_bug.cgi?id=142645

Reviewed by Oliver Hunt.

Make the setting of ENABLE_YARR_JIT match ENABLE_JIT for ARMv7k.

* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (181461 => 181462)


--- trunk/Source/WTF/ChangeLog	2015-03-13 00:20:18 UTC (rev 181461)
+++ trunk/Source/WTF/ChangeLog	2015-03-13 00:40:46 UTC (rev 181462)
@@ -1,3 +1,14 @@
+2015-03-12  Michael Saboff  <[email protected]>
+
+        Disable Yarr JIT for ARMv7k
+        https://bugs.webkit.org/show_bug.cgi?id=142645
+
+        Reviewed by Oliver Hunt.
+
+        Make the setting of ENABLE_YARR_JIT match ENABLE_JIT for ARMv7k.
+
+        * wtf/Platform.h:
+
 2015-03-12  Mark Lam  <[email protected]>
 
         Change WTF::ByteSpinLock to use std::atomic.

Modified: trunk/Source/WTF/wtf/Platform.h (181461 => 181462)


--- trunk/Source/WTF/wtf/Platform.h	2015-03-13 00:20:18 UTC (rev 181461)
+++ trunk/Source/WTF/wtf/Platform.h	2015-03-13 00:40:46 UTC (rev 181462)
@@ -656,13 +656,18 @@
 #endif
 #endif /* !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32_64) */
 
-/* The JIT is enabled by default on all x86, x86-64, ARM & MIPS platforms except ARMv7k and Windows. */
+/* The JIT is enabled by default on all x86, x86-64, ARM & MIPS platforms except ARMv7k. */
 #if !defined(ENABLE_JIT) \
     && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)) \
     && !CPU(APPLE_ARMV7K)
 #define ENABLE_JIT 1
 #endif
 
+/* Disable the YARR JIT for ARMv7k */
+#if !defined(ENABLE_YARR_JIT) && CPU(APPLE_ARMV7K)
+#define ENABLE_YARR_JIT 0
+#endif
+
 /* Do we have LLVM? */
 #if !defined(HAVE_LLVM) && OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK) && ENABLE(FTL_JIT) && (CPU(X86_64) || CPU(ARM64))
 #define HAVE_LLVM 1
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to