| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 8120f4668509bc6dad641c7588251278783c19fe..74806c677d27f2350f7a1f96a434852118ef8448 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -654,7 +654,10 @@ class ParserTraits {
|
| // Rewrite expressions that are not used as patterns
|
| V8_INLINE Expression* RewriteNonPattern(
|
| Expression* expr, const ExpressionClassifier* classifier, bool* ok);
|
| - V8_INLINE ObjectLiteralProperty* RewriteObjectLiteralProperty(
|
| + V8_INLINE ZoneList<Expression*>* RewriteNonPatternArguments(
|
| + ZoneList<Expression*>* args, const ExpressionClassifier* classifier,
|
| + bool* ok);
|
| + V8_INLINE ObjectLiteralProperty* RewriteNonPatternObjectLiteralProperty(
|
| ObjectLiteralProperty* property, const ExpressionClassifier* classifier,
|
| bool* ok);
|
|
|
| @@ -1012,7 +1015,10 @@ class Parser : public ParserBase<ParserTraits> {
|
|
|
| V8_INLINE Expression* RewriteNonPattern(
|
| Expression* expr, const ExpressionClassifier* classifier, bool* ok);
|
| - V8_INLINE ObjectLiteralProperty* RewriteObjectLiteralProperty(
|
| + V8_INLINE ZoneList<Expression*>* RewriteNonPatternArguments(
|
| + ZoneList<Expression*>* args, const ExpressionClassifier* classifier,
|
| + bool* ok);
|
| + V8_INLINE ObjectLiteralProperty* RewriteNonPatternObjectLiteralProperty(
|
| ObjectLiteralProperty* property, const ExpressionClassifier* classifier,
|
| bool* ok);
|
|
|
|
|