Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 35711b068f92b59adc3527e61cd3936692bb8a0c..5b03c82e45fd5069be052db0a2cf53fb97cbe5f5 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -335,7 +335,6 @@ class ParserTraits { |
typedef v8::internal::Expression* Expression; |
typedef Yield* YieldExpression; |
typedef v8::internal::FunctionLiteral* FunctionLiteral; |
- typedef v8::internal::ClassLiteral* ClassLiteral; |
typedef v8::internal::Literal* Literal; |
typedef ObjectLiteral::Property* ObjectLiteralProperty; |
typedef ZoneList<v8::internal::Expression*>* ExpressionList; |
@@ -581,11 +580,11 @@ class ParserTraits { |
const ParserFormalParameters& parameters, FunctionKind kind, |
FunctionLiteral::FunctionType function_type, bool* ok); |
- ClassLiteral* ParseClassLiteral(Type::ExpressionClassifier* classifier, |
- const AstRawString* name, |
- Scanner::Location class_name_location, |
- bool name_is_strict_reserved, int pos, |
- bool* ok); |
+ Expression* ParseClassLiteral(Type::ExpressionClassifier* classifier, |
+ const AstRawString* name, |
+ Scanner::Location class_name_location, |
+ bool name_is_strict_reserved, int pos, |
+ bool* ok); |
V8_INLINE void MarkCollectedTailCallExpressions(); |
V8_INLINE void MarkTailPosition(Expression* expression); |
@@ -988,11 +987,11 @@ class Parser : public ParserBase<ParserTraits> { |
int function_token_position, FunctionLiteral::FunctionType type, |
LanguageMode language_mode, bool* ok); |
- ClassLiteral* ParseClassLiteral(ExpressionClassifier* classifier, |
- const AstRawString* name, |
- Scanner::Location class_name_location, |
- bool name_is_strict_reserved, int pos, |
- bool* ok); |
+ Expression* ParseClassLiteral(ExpressionClassifier* classifier, |
+ const AstRawString* name, |
+ Scanner::Location class_name_location, |
+ bool name_is_strict_reserved, int pos, |
+ bool* ok); |
// Magical syntax support. |
Expression* ParseV8Intrinsic(bool* ok); |