| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 4ab075e052c48070a5814ab1b5c4dfbf5d57817a..91c8a3a294846207ab2427f5018238de4f397e81 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);
|
|
|