Title: [285036] trunk/Source/WTF
- Revision
- 285036
- Author
- sbar...@apple.com
- Date
- 2021-10-29 10:17:22 -0700 (Fri, 29 Oct 2021)
Log Message
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:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (285035 => 285036)
--- trunk/Source/WTF/ChangeLog 2021-10-29 16:50:16 UTC (rev 285035)
+++ trunk/Source/WTF/ChangeLog 2021-10-29 17:17:22 UTC (rev 285036)
@@ -1,3 +1,18 @@
+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-10-28 Adrian Perez de Castro <ape...@igalia.com>
[WTF] Use mcontext_t on OpenBSD
Modified: trunk/Source/WTF/wtf/PlatformEnable.h (285035 => 285036)
--- trunk/Source/WTF/wtf/PlatformEnable.h 2021-10-29 16:50:16 UTC (rev 285035)
+++ trunk/Source/WTF/wtf/PlatformEnable.h 2021-10-29 17:17:22 UTC (rev 285036)
@@ -576,7 +576,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
@@ -600,7 +600,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