Index: src/parsing/preparser.cc |
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc |
index a9af4a955884511de1fc0e3eabc3953c0baa0073..4af7fca7b7160293229d8d8b9c47feb7526a28fc 100644 |
--- a/src/parsing/preparser.cc |
+++ b/src/parsing/preparser.cc |
@@ -1233,10 +1233,11 @@ PreParserExpression PreParser::ParseClassLiteral( |
const bool is_static = false; |
bool is_computed_name = false; // Classes do not care about computed |
// property names here. |
+ Identifier name; |
ExpressionClassifier classifier; |
ParsePropertyDefinition(&checker, in_class, has_extends, is_static, |
&is_computed_name, &has_seen_constructor, |
- &classifier, CHECK_OK); |
+ &classifier, &name, CHECK_OK); |
ValidateExpression(&classifier, CHECK_OK); |
} |