1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

LibJS: Convert prepare_for_ordinary_call() to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-11-14 12:10:34 +00:00
parent 33ed87d642
commit 7cdca08090
2 changed files with 7 additions and 10 deletions

View file

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