Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index 51cac17cfadf99fd497e72dff48653f561f49a4c..1bd33409f002d3d1711c14557fdbdf9ed2b11c98 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -990,10 +990,8 @@ |
if (Check(Token::SEMICOLON)) continue; |
const bool in_class = true; |
const bool is_static = false; |
- bool is_computed_name = false; // Classes do not care about computed |
- // property names here. |
- ParsePropertyDefinition(NULL, in_class, is_static, &is_computed_name, |
- &has_seen_constructor, CHECK_OK); |
+ ParsePropertyDefinition(NULL, in_class, is_static, &has_seen_constructor, |
+ CHECK_OK); |
} |
Expect(Token::RBRACE, CHECK_OK); |