| Index: src/parsing/parser-base.h
|
| diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h
|
| index 777cad1ac79dfdcdceb8872bdc7bd316ffbb42ea..742b2b425724aaf0e20ade5c57a2864952e5675b 100644
|
| --- a/src/parsing/parser-base.h
|
| +++ b/src/parsing/parser-base.h
|
| @@ -3710,10 +3710,6 @@ typename ParserBase<Impl>::BlockT ParserBase<Impl>::ParseVariableDeclarations(
|
|
|
| parsing_result->descriptor.scope = scope();
|
|
|
| - // The scope of a var/const declared variable anywhere inside a function
|
| - // is the entire function (ECMA-262, 3rd, 10.1.3, and 12.2). The scope
|
| - // of a let declared variable is the scope of the immediately enclosing
|
| - // block.
|
| int bindings_start = peek_position();
|
| do {
|
| // Parse binding pattern.
|
|
|