mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibJS: Convert prepare_for_ordinary_call() to ThrowCompletionOr
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 01:09:37 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/7cdca080909 Pull-request: https://github.com/SerenityOS/serenity/pull/10917 Reviewed-by: https://github.com/IdanHo ✅
@@ -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&);
|
||||
|
||||
Reference in New Issue
Block a user