| Index: src/ast/scopes.h
|
| diff --git a/src/ast/scopes.h b/src/ast/scopes.h
|
| index 840c63944eb355ccfb5d4dbddee2c4a9128818f4..d3af5047092c382f70ef530e4b98a75f42266d93 100644
|
| --- a/src/ast/scopes.h
|
| +++ b/src/ast/scopes.h
|
| @@ -415,6 +415,7 @@ class Scope: public ZoneObject {
|
| void set_is_debug_evaluate_scope() { is_debug_evaluate_scope_ = true; }
|
| bool is_debug_evaluate_scope() const { return is_debug_evaluate_scope_; }
|
|
|
| + bool is_lazily_parsed() const { return is_lazily_parsed_; }
|
| void set_is_lazily_parsed(bool is_lazily_parsed) {
|
| is_lazily_parsed_ = is_lazily_parsed;
|
| }
|
| @@ -779,8 +780,7 @@ class DeclarationScope : public Scope {
|
| // records variables which cannot be resolved inside the Scope (we don't yet
|
| // know what they will resolve to since the outer Scopes are incomplete) and
|
| // migrates them into migrate_to.
|
| - void AnalyzePartially(DeclarationScope* migrate_to,
|
| - AstNodeFactory* ast_node_factory);
|
| + void AnalyzePartially(AstNodeFactory* ast_node_factory);
|
|
|
| Handle<StringSet> CollectNonLocals(ParseInfo* info,
|
| Handle<StringSet> non_locals);
|
| @@ -820,6 +820,7 @@ class DeclarationScope : public Scope {
|
| // Make sure we won't try to allocate the rest parameter. {params_} was
|
| // cleared above.
|
| has_rest_ = false;
|
| + unresolved_ = nullptr;
|
| }
|
|
|
| private:
|
|
|