diff --git a/Source/WTF/wtf/Threading.cpp b/Source/WTF/wtf/Threading.cpp index a6dda898b9e4a..c968f933ed806 100644 --- a/Source/WTF/wtf/Threading.cpp +++ b/Source/WTF/wtf/Threading.cpp @@ -124,7 +124,7 @@ static std::optional stackSize(ThreadType threadType) #else return 4 * MB; #endif -#elif USE(BUN_JSC_ADDITIONS) +#elif USE(BUN_JSC_ADDITIONS) && !ASSERT_ENABLED return 512 * KB; #else UNUSED_PARAM(threadType);