Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index b6cf8218e56daf14a554ff82e750d7dcf40d7508..881155577801b70d03ca99fe76cb1394409c128c 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -620,7 +620,6 @@ class ParserBase : public Traits { |
DCHECK(scope_type != FUNCTION_SCOPE); |
Scope* result = |
new (zone()) Scope(zone(), parent, scope_type, kNormalFunction); |
- result->Initialize(); |
if (scope_type == MODULE_SCOPE) result->DeclareThis(ast_value_factory()); |
return result; |
} |
@@ -628,7 +627,6 @@ class ParserBase : public Traits { |
Scope* NewFunctionScope(FunctionKind kind) { |
DCHECK(ast_value_factory()); |
Scope* result = new (zone()) Scope(zone(), scope(), FUNCTION_SCOPE, kind); |
- result->Initialize(); |
if (!IsArrowFunction(kind)) { |
result->DeclareThis(ast_value_factory()); |
result->DeclareDefaultFunctionVariables(ast_value_factory()); |