Index: src/preparser.h |
diff --git a/src/preparser.h b/src/preparser.h |
index 4a35cd59f52dfa71426abc71f58937ce3d783f86..a8d1943faf2ecb72e3f5423db9e90055a964407c 100644 |
--- a/src/preparser.h |
+++ b/src/preparser.h |
@@ -317,10 +317,9 @@ class ParserBase : public Traits { |
DCHECK(scope_type != MODULE_SCOPE || allow_harmony_modules()); |
DCHECK((scope_type == FUNCTION_SCOPE && IsValidFunctionKind(kind)) || |
kind == kNormalFunction); |
- Scope* result = |
- new (zone()) Scope(zone(), parent, scope_type, ast_value_factory()); |
- bool uninitialized_this = IsSubclassConstructor(kind); |
- result->Initialize(uninitialized_this); |
+ Scope* result = new (zone()) |
+ Scope(zone(), parent, scope_type, ast_value_factory(), kind); |
+ result->Initialize(); |
return result; |
} |