Index: src/parsing/preparser.h |
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h |
index daadef33a7deadbc4b56f9b95124e98b843fc2a1..65256d67135c9c0a2342214ace8546ec992f490e 100644 |
--- a/src/parsing/preparser.h |
+++ b/src/parsing/preparser.h |
@@ -480,16 +480,21 @@ class PreParserFactory { |
int pos) { |
return PreParserExpression::ArrayLiteral(); |
} |
+ PreParserExpression NewClassLiteralProperty(PreParserExpression key, |
+ PreParserExpression value, |
+ ClassLiteralProperty::Kind kind, |
+ bool is_static, |
+ bool is_computed_name) { |
+ return PreParserExpression::Default(); |
+ } |
PreParserExpression NewObjectLiteralProperty(PreParserExpression key, |
PreParserExpression value, |
ObjectLiteralProperty::Kind kind, |
- bool is_static, |
bool is_computed_name) { |
return PreParserExpression::Default(); |
} |
PreParserExpression NewObjectLiteralProperty(PreParserExpression key, |
PreParserExpression value, |
- bool is_static, |
bool is_computed_name) { |
return PreParserExpression::Default(); |
} |
@@ -651,6 +656,7 @@ struct ParserTypes<PreParser> { |
typedef PreParserExpression Expression; |
typedef PreParserExpression FunctionLiteral; |
typedef PreParserExpression ObjectLiteralProperty; |
+ typedef PreParserExpression ClassLiteralProperty; |
typedef PreParserExpressionList ExpressionList; |
typedef PreParserExpressionList PropertyList; |
typedef PreParserFormalParameters FormalParameters; |
@@ -1048,6 +1054,9 @@ class PreParser : public ParserBase<PreParser> { |
V8_INLINE static PreParserExpression EmptyObjectLiteralProperty() { |
return PreParserExpression::Default(); |
} |
+ V8_INLINE static PreParserExpression EmptyClassLiteralProperty() { |
+ return PreParserExpression::Default(); |
+ } |
V8_INLINE static PreParserExpression EmptyFunctionLiteral() { |
return PreParserExpression::Default(); |
} |