LibJS: Skip stack overflow check in ESFO::prepare_for_ordinary_call()

We already do a stack overflow check when entering run_bytecode(),
which is the first thing that happens when we actually invoke the ESFO
executable.
This commit is contained in:
Andreas Kling 2025-04-28 21:12:10 +02:00 committed by Andreas Kling
commit 35275651e3
Notes: github-actions[bot] 2025-04-29 00:10:51 +00:00
2 changed files with 8 additions and 8 deletions

View file

@ -198,7 +198,7 @@ private:
virtual bool is_ecmascript_function_object() const override { return true; }
virtual void visit_edges(Visitor&) override;
ThrowCompletionOr<void> prepare_for_ordinary_call(VM&, ExecutionContext& callee_context, Object* new_target);
void prepare_for_ordinary_call(VM&, ExecutionContext& callee_context, Object* new_target);
void ordinary_call_bind_this(VM&, ExecutionContext&, Value this_argument);
NonnullRefPtr<SharedFunctionInstanceData> m_shared_data;