| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 78039f63f6883dfbd0d8055d4418d29094919ef1..330cd0b6a6e04a3966dd813f62080468e267395b 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -263,21 +263,6 @@ void Parser::SetCachedData() {
|
| }
|
|
|
|
|
| -Scope* Parser::NewScope(Scope* parent, ScopeType scope_type,
|
| - FunctionKind kind) {
|
| - DCHECK(ast_value_factory());
|
| - DCHECK(scope_type != MODULE_SCOPE || allow_harmony_modules());
|
| - DCHECK((scope_type == FUNCTION_SCOPE && IsValidFunctionKind(kind)) ||
|
| - kind == kNormalFunction);
|
| - Scope* result = new (zone())
|
| - Scope(isolate(), zone(), parent, scope_type, ast_value_factory());
|
| - bool uninitialized_this =
|
| - FLAG_experimental_classes && IsSubclassConstructor(kind);
|
| - result->Initialize(uninitialized_this);
|
| - return result;
|
| -}
|
| -
|
| -
|
| FunctionLiteral* Parser::DefaultConstructor(bool call_super, Scope* scope,
|
| int pos, int end_pos) {
|
| int materialized_literal_count = -1;
|
|
|