diff --git a/Libraries/LibJS/Runtime/VM.h b/Libraries/LibJS/Runtime/VM.h index e2666dd6492..31c6c4cfad8 100644 --- a/Libraries/LibJS/Runtime/VM.h +++ b/Libraries/LibJS/Runtime/VM.h @@ -112,8 +112,9 @@ public: ThrowCompletionOr push_execution_context(ExecutionContext& context, CheckStackSpaceLimitTag) { // Ensure we got some stack space left, so the next function call doesn't kill us. - if (did_reach_stack_space_limit()) + if (did_reach_stack_space_limit()) [[unlikely]] { return throw_completion(ErrorType::CallStackSizeExceeded); + } push_execution_context(context); return {}; }