diff --git a/Userland/Libraries/LibJS/Runtime/VM.h b/Userland/Libraries/LibJS/Runtime/VM.h index 6d7e50029d..6e420415e5 100644 --- a/Userland/Libraries/LibJS/Runtime/VM.h +++ b/Userland/Libraries/LibJS/Runtime/VM.h @@ -83,11 +83,9 @@ public: bool did_reach_stack_space_limit() const { -#ifdef HAS_ADDRESS_SANITIZER + // Address sanitizer (ASAN) used to check for more space but + // currently we can't detect the stack size with it enabled. return m_stack_info.size_free() < 32 * KiB; -#else - return m_stack_info.size_free() < 16 * KiB; -#endif } ThrowCompletionOr push_execution_context(ExecutionContext& context, GlobalObject& global_object)