| Index: src/parsing/preparser.cc
|
| diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc
|
| index 170feb570f486c684793ca7add05f34459cfcf5f..5cc2dc2ae8eb515c281066a8a8943785068dbaab 100644
|
| --- a/src/parsing/preparser.cc
|
| +++ b/src/parsing/preparser.cc
|
| @@ -311,6 +311,9 @@ void PreParser::DeclareAndInitializeVariables(
|
| declaration_descriptor->scope->RemoveUnresolved(variable);
|
| scope()->DeclareVariableName(variable->raw_name(),
|
| declaration_descriptor->mode);
|
| + if (names) {
|
| + names->Add(variable->raw_name(), zone());
|
| + }
|
| }
|
| }
|
| }
|
|
|