| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 5fa64b7eb1dbc962d9aa7ae3ded5c872138b7cbd..67020e07fb3f0d2566e2a880616a6366d8b1e21b 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -909,6 +909,11 @@ class ParserTraits {
|
| void SetFunctionNameFromPropertyName(ObjectLiteralProperty* property,
|
| const AstRawString* name);
|
|
|
| + // Rewrite expressions
|
| + V8_INLINE Expression* RewriteExpression(Expression* expr);
|
| + V8_INLINE ObjectLiteralProperty* RewriteObjectLiteralProperty(
|
| + ObjectLiteralProperty* property);
|
| +
|
| private:
|
| Parser* parser_;
|
| };
|
| @@ -1261,6 +1266,10 @@ class Parser : public ParserBase<ParserTraits> {
|
|
|
| V8_INLINE void RewriteDestructuringAssignments();
|
|
|
| + V8_INLINE Expression* RewriteExpression(Expression* expr);
|
| + V8_INLINE ObjectLiteralProperty* RewriteObjectLiteralProperty(
|
| + ObjectLiteralProperty* property);
|
| +
|
| friend class InitializerRewriter;
|
| void RewriteParameterInitializer(Expression* expr, Scope* scope);
|
|
|
|
|