| Index: src/ast/ast.h
|
| diff --git a/src/ast/ast.h b/src/ast/ast.h
|
| index 5ce553186c67a5ccec72729d6d553b2254602932..30e2a3a256969727e015adf851f0a3760291ec0d 100644
|
| --- a/src/ast/ast.h
|
| +++ b/src/ast/ast.h
|
| @@ -2597,6 +2597,12 @@ class FunctionLiteral final : public Expression {
|
| const AstString* raw_name() const { return raw_name_; }
|
| void set_raw_name(const AstString* name) { raw_name_ = name; }
|
| DeclarationScope* scope() const { return scope_; }
|
| +
|
| + // AST desugaring of initialization of non-simple parameters. If non-null,
|
| + // forces Ignition/TF pipeline.
|
| + Block* parameter_init_block() const { return parameter_init_block_; }
|
| + void set_parameter_init_block(Block* block) { parameter_init_block_ = block; }
|
| +
|
| ZoneList<Statement*>* body() const { return body_; }
|
| void set_function_token_position(int pos) { function_token_position_ = pos; }
|
| int function_token_position() const { return function_token_position_; }
|
| @@ -2747,6 +2753,7 @@ class FunctionLiteral final : public Expression {
|
| has_braces_(has_braces),
|
| raw_name_(name),
|
| scope_(scope),
|
| + parameter_init_block_(nullptr),
|
| body_(body),
|
| raw_inferred_name_(ast_value_factory->empty_string()),
|
| ast_properties_(zone),
|
| @@ -2780,6 +2787,7 @@ class FunctionLiteral final : public Expression {
|
|
|
| const AstString* raw_name_;
|
| DeclarationScope* scope_;
|
| + Block* parameter_init_block_;
|
| ZoneList<Statement*>* body_;
|
| const AstString* raw_inferred_name_;
|
| Handle<String> inferred_name_;
|
|
|