Skip to content

Commit

Permalink
Fix JSCOnly build of bmalloc
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=244751
<rdar://problem/99556286>

Reviewed by Yusuke Suzuki.

In bug 244355 we made `bmalloc::api::enableMiniMode()` call a function in ProcessCheck. But this
breaks the JSCOnly CMake port because ProcessCheck wasn't compiled for that port (it was only
compiled for the Mac port). This patch fixes that.

* Source/bmalloc/PlatformJSCOnly.cmake: Added.

Canonical link: https://commits.webkit.org/254194@main
  • Loading branch information
bnham committed Sep 6, 2022
1 parent 7f531f3 commit 75b8547
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/bmalloc/PlatformJSCOnly.cmake
@@ -0,0 +1,5 @@
if (APPLE)
list(APPEND bmalloc_SOURCES
bmalloc/ProcessCheck.mm
)
endif ()

0 comments on commit 75b8547

Please sign in to comment.