mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
LibJS: Move async_block_start out of ECMAScriptFunctionObject
This commit is contained in:
parent
cd83325c7c
commit
39b134e8c1
2 changed files with 7 additions and 7 deletions
|
@ -13,6 +13,8 @@
|
|||
|
||||
namespace JS {
|
||||
|
||||
void async_block_start(VM&, NonnullRefPtr<Statement> const& parse_node, PromiseCapability const&, ExecutionContext&);
|
||||
|
||||
// 10.2 ECMAScript Function Objects, https://tc39.es/ecma262/#sec-ecmascript-function-objects
|
||||
class ECMAScriptFunctionObject final : public FunctionObject {
|
||||
JS_OBJECT(ECMAScriptFunctionObject, FunctionObject);
|
||||
|
@ -97,7 +99,6 @@ private:
|
|||
void ordinary_call_bind_this(ExecutionContext&, Value this_argument);
|
||||
|
||||
void async_function_start(PromiseCapability const&);
|
||||
void async_block_start(PromiseCapability const&, ExecutionContext&);
|
||||
|
||||
ThrowCompletionOr<void> function_declaration_instantiation(Interpreter*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue