Title: [285465] branches/safari-612-branch/Source/WTF
Revision
285465
Author
kocsen_ch...@apple.com
Date
2021-11-08 17:09:14 -0800 (Mon, 08 Nov 2021)

Log Message

Cherry-pick r285036. rdar://problem/85173478

    Disable ENABLE_JIT on arm64_32
    https://bugs.webkit.org/show_bug.cgi?id=232468

    Reviewed by Yusuke Suzuki.

    We were disabling JIT via a runtime configuration before since we haven't
    yet implemented the JIT on arm64_32. However, not compiling ENABLE(JIT)
    code on arm64_32 saves 11MB in the binary size of _javascript_Core.

    In my local compiles, I'm going from 24M to 13M.

    * wtf/PlatformEnable.h:

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285036 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-612-branch/Source/WTF/ChangeLog (285464 => 285465)


--- branches/safari-612-branch/Source/WTF/ChangeLog	2021-11-09 01:09:12 UTC (rev 285464)
+++ branches/safari-612-branch/Source/WTF/ChangeLog	2021-11-09 01:09:14 UTC (rev 285465)
@@ -1,3 +1,38 @@
+2021-11-08  Kocsen Chung  <kocsen_ch...@apple.com>
+
+        Cherry-pick r285036. rdar://problem/85173478
+
+    Disable ENABLE_JIT on arm64_32
+    https://bugs.webkit.org/show_bug.cgi?id=232468
+    
+    Reviewed by Yusuke Suzuki.
+    
+    We were disabling JIT via a runtime configuration before since we haven't
+    yet implemented the JIT on arm64_32. However, not compiling ENABLE(JIT)
+    code on arm64_32 saves 11MB in the binary size of _javascript_Core.
+    
+    In my local compiles, I'm going from 24M to 13M.
+    
+    * wtf/PlatformEnable.h:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-10-29  Saam Barati  <sbar...@apple.com>
+
+            Disable ENABLE_JIT on arm64_32
+            https://bugs.webkit.org/show_bug.cgi?id=232468
+
+            Reviewed by Yusuke Suzuki.
+
+            We were disabling JIT via a runtime configuration before since we haven't
+            yet implemented the JIT on arm64_32. However, not compiling ENABLE(JIT)
+            code on arm64_32 saves 11MB in the binary size of _javascript_Core.
+
+            In my local compiles, I'm going from 24M to 13M.
+
+            * wtf/PlatformEnable.h:
+
 2021-11-04  Russell Epstein  <repst...@apple.com>
 
         Cherry-pick r285241. rdar://problem/84990898

Modified: branches/safari-612-branch/Source/WTF/wtf/PlatformEnable.h (285464 => 285465)


--- branches/safari-612-branch/Source/WTF/wtf/PlatformEnable.h	2021-11-09 01:09:12 UTC (rev 285464)
+++ branches/safari-612-branch/Source/WTF/wtf/PlatformEnable.h	2021-11-09 01:09:14 UTC (rev 285465)
@@ -573,7 +573,7 @@
 #endif
 
 /* The JIT is enabled by default on all x86-64 & ARM64 platforms. */
-#if !defined(ENABLE_JIT) && (CPU(X86_64) || CPU(ARM64)) && !CPU(APPLE_ARMV7K)
+#if !defined(ENABLE_JIT) && (CPU(X86_64) || (CPU(ARM64) && CPU(ADDRESS64)))
 #define ENABLE_JIT 1
 #endif
 
@@ -597,7 +597,7 @@
 #endif
 
 #if !defined(ENABLE_C_LOOP)
-#if ENABLE(JIT) || CPU(X86_64) || (CPU(ARM64) && !defined(__ILP32__))
+#if ENABLE(JIT) || CPU(X86_64) || CPU(ARM64)
 #define ENABLE_C_LOOP 0
 #else
 #define ENABLE_C_LOOP 1
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to