| Index: src/ast/ast.h
|
| diff --git a/src/ast/ast.h b/src/ast/ast.h
|
| index 1b80d3f36d951a3f1b71ecbabd650d8ce0d6af56..e689470f5e3ae6bd58a323d943935fe043a6a76e 100644
|
| --- a/src/ast/ast.h
|
| +++ b/src/ast/ast.h
|
| @@ -3097,6 +3097,16 @@ class AstNodeFactory final BASE_EMBEDDED {
|
| try_block, scope, variable, catch_block, HandlerTable::DESUGARING, pos);
|
| }
|
|
|
| + TryCatchStatement* NewTryCatchStatementForAsyncAwait(Block* try_block,
|
| + Scope* scope,
|
| + Variable* variable,
|
| + Block* catch_block,
|
| + int pos) {
|
| + return new (zone_)
|
| + TryCatchStatement(try_block, scope, variable, catch_block,
|
| + HandlerTable::ASYNC_AWAIT, pos);
|
| + }
|
| +
|
| TryFinallyStatement* NewTryFinallyStatement(Block* try_block,
|
| Block* finally_block, int pos) {
|
| return new (zone_) TryFinallyStatement(try_block, finally_block, pos);
|
|
|