Title: [287233] trunk/Source/bmalloc
Revision
287233
Author
[email protected]
Date
2021-12-18 16:21:24 -0800 (Sat, 18 Dec 2021)

Log Message

[libpas] Do not compile libpas for 64-bit watchOS to save ~6 MB per architecture
<https://webkit.org/b/234478>
<rdar://problem/85620647>

Reviewed by Yusuke Suzuki.

* bmalloc/BPlatform.h:
(BENABLE_LIBPAS):
- Disable libpas on 64-bit watchOS.

Modified Paths

Diff

Modified: trunk/Source/bmalloc/ChangeLog (287232 => 287233)


--- trunk/Source/bmalloc/ChangeLog	2021-12-18 23:57:08 UTC (rev 287232)
+++ trunk/Source/bmalloc/ChangeLog	2021-12-19 00:21:24 UTC (rev 287233)
@@ -1,3 +1,15 @@
+2021-12-18  David Kilzer  <[email protected]>
+
+        [libpas] Do not compile libpas for 64-bit watchOS to save ~6 MB per architecture
+        <https://webkit.org/b/234478>
+        <rdar://problem/85620647>
+
+        Reviewed by Yusuke Suzuki.
+
+        * bmalloc/BPlatform.h:
+        (BENABLE_LIBPAS):
+        - Disable libpas on 64-bit watchOS.
+
 2021-12-17  Yusuke Suzuki  <[email protected]>
 
         Unreviewed, pas_probabilistic_guard_malloc_allocator.c is broken when LIBPAS is not enabled

Modified: trunk/Source/bmalloc/bmalloc/BPlatform.h (287232 => 287233)


--- trunk/Source/bmalloc/bmalloc/BPlatform.h	2021-12-18 23:57:08 UTC (rev 287232)
+++ trunk/Source/bmalloc/bmalloc/BPlatform.h	2021-12-19 00:21:24 UTC (rev 287233)
@@ -324,7 +324,7 @@
 
 /* BENABLE(LIBPAS) is enabling libpas build. But this does not mean we use libpas for bmalloc replacement. */
 #if !defined(BENABLE_LIBPAS)
-#if BCPU(ADDRESS64) && (BOS(DARWIN) || (BOS(LINUX) && !BPLATFORM(GTK) && !BPLATFORM(WPE)))
+#if BCPU(ADDRESS64) && ((BOS(DARWIN) && !BOS(WATCHOS)) || (BOS(LINUX) && !BPLATFORM(GTK) && !BPLATFORM(WPE)))
 #define BENABLE_LIBPAS 1
 #else
 #define BENABLE_LIBPAS 0
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to