| Index: src/ast/scopes.h
|
| diff --git a/src/ast/scopes.h b/src/ast/scopes.h
|
| index 49cfdffba733c90444c745a1f606721821c1322f..b0da2c5384e2b499fdde777e92a7d7982040b452 100644
|
| --- a/src/ast/scopes.h
|
| +++ b/src/ast/scopes.h
|
| @@ -20,6 +20,7 @@ class AstValueFactory;
|
| class AstRawString;
|
| class Declaration;
|
| class ParseInfo;
|
| +class PreParsedScopeData;
|
| class SloppyBlockFunctionStatement;
|
| class Statement;
|
| class StringSet;
|
| @@ -586,6 +587,8 @@ class V8_EXPORT_PRIVATE Scope : public NON_EXPORTED_BASE(ZoneObject) {
|
| void AllocateDebuggerScopeInfos(Isolate* isolate,
|
| MaybeHandle<ScopeInfo> outer_scope);
|
|
|
| + void CollectVariableData(PreParsedScopeData* data);
|
| +
|
| // Construct a scope based on the scope info.
|
| Scope(Zone* zone, ScopeType type, Handle<ScopeInfo> scope_info);
|
|
|
| @@ -789,7 +792,8 @@ 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(AstNodeFactory* ast_node_factory);
|
| + void AnalyzePartially(AstNodeFactory* ast_node_factory,
|
| + PreParsedScopeData* preparsed_scope_data);
|
|
|
| Handle<StringSet> CollectNonLocals(ParseInfo* info,
|
| Handle<StringSet> non_locals);
|
|
|