Add macros to disable bmalloc core so that libpas can be enabled on 64-bit watchOS. Bug 234416 enabled libpas on all 64-bit Apple platforms, but it didn't disable the core bmalloc code it replaced, so it caused a disk/shared memory regression of about 6 MB on arm64e on watchOS (and likely other OSes/architectures). This bug is to add guards to core bmalloc code that libpas replaces so that it can be disabled at compile time (at least on watchOS), which would let us enable libpas on watchOS once again. Note that Bug 234478 turned off libpas on 64-bit watchOS.
<rdar://problem/86675567>
Created attachment 447544 [details] Patch
Created attachment 447546 [details] Patch
Comment on attachment 447546 [details] Patch r=me! The mac-debug-wk1 failures I've seen on another patch--they aren't related.
Committed r287246 (245404@main): <https://commits.webkit.org/245404@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 447546 [details].