Index: src/parsing/preparser.cc |
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc |
index 4a3f680f035d1384bb8d445bf5b40ec5b4ee2910..69983049cedc0c4ebca84abe65114735a37881f4 100644 |
--- a/src/parsing/preparser.cc |
+++ b/src/parsing/preparser.cc |
@@ -854,13 +854,12 @@ PreParserExpression PreParser::ParseClassLiteral( |
Expect(Token::LBRACE, CHECK_OK); |
while (peek() != Token::RBRACE) { |
if (Check(Token::SEMICOLON)) continue; |
- const bool in_class = true; |
bool is_computed_name = false; // Classes do not care about computed |
// property names here. |
Identifier name; |
ExpressionClassifier property_classifier(this); |
- ParsePropertyDefinition(&checker, in_class, has_extends, &is_computed_name, |
- &has_seen_constructor, &name, CHECK_OK); |
+ ParseClassPropertyDefinition(&checker, has_extends, &is_computed_name, |
+ &has_seen_constructor, &name, CHECK_OK); |
ValidateExpression(CHECK_OK); |
impl()->AccumulateFormalParameterContainmentErrors(); |
} |