Title: [229422] trunk/Source/WTF
Revision
229422
Author
[email protected]
Date
2018-03-08 11:34:43 -0800 (Thu, 08 Mar 2018)

Log Message

Disable JIT on Cocoa 32-bit ARM.
https://bugs.webkit.org/show_bug.cgi?id=183426

Reviewed by Michael Saboff.

* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (229421 => 229422)


--- trunk/Source/WTF/ChangeLog	2018-03-08 19:32:35 UTC (rev 229421)
+++ trunk/Source/WTF/ChangeLog	2018-03-08 19:34:43 UTC (rev 229422)
@@ -1,5 +1,14 @@
 2018-03-08  Keith Miller  <[email protected]>
 
+        Disable JIT on Cocoa 32-bit ARM.
+        https://bugs.webkit.org/show_bug.cgi?id=183426
+
+        Reviewed by Michael Saboff.
+
+        * wtf/Platform.h:
+
+2018-03-08  Keith Miller  <[email protected]>
+
         Use asm instead of __asm__ in WTFBreakpointTrap so MSVC builds
         https://bugs.webkit.org/show_bug.cgi?id=183465
 

Modified: trunk/Source/WTF/wtf/Platform.h (229421 => 229422)


--- trunk/Source/WTF/wtf/Platform.h	2018-03-08 19:32:35 UTC (rev 229421)
+++ trunk/Source/WTF/wtf/Platform.h	2018-03-08 19:34:43 UTC (rev 229422)
@@ -727,6 +727,12 @@
 #define ENABLE_JIT 1
 #endif
 
+/* Cocoa ports should not use the jit on 32-bit ARM CPUs. */
+#if PLATFORM(COCOA) && (CPU(ARM) || CPU(APPLE_ARMV7K))
+#undef ENABLE_JIT
+#define ENABLE_JIT 0
+#endif
+
 /* The FTL *does not* work on 32-bit platforms. Disable it even if someone asked us to enable it. */
 #if USE(JSVALUE32_64)
 #undef ENABLE_FTL_JIT
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to