Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index a1c25c47296165b84c1b325af3d01ba9023a0ed6..d2634904a7aa81a6332ec4d81b764bb5d3d5a7eb 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -582,11 +582,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); |
@@ -1002,11 +1002,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); |