Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index bfed5f347106058805edcb316be7a7f5d7059ab8..1e52d46b0147449374fcc1776612c15a0b6a7be4 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -658,7 +658,7 @@ class ParserTraits { |
V8_INLINE void QueueDestructuringAssignmentForRewriting( |
Expression* assignment); |
- V8_INLINE void QueueNonPatternForRewriting(Expression* expr); |
+ V8_INLINE void QueueNonPatternForRewriting(Expression* expr, bool* ok); |
void SetFunctionNameFromPropertyName(ObjectLiteralProperty* property, |
const AstRawString* name); |
@@ -670,6 +670,8 @@ class ParserTraits { |
V8_INLINE void RewriteNonPattern(Type::ExpressionClassifier* classifier, |
bool* ok); |
+ V8_INLINE ZoneList<typename Type::ExpressionClassifier::Error>* |
+ GetReportedErrorList() const; |
V8_INLINE Zone* zone() const; |
V8_INLINE ZoneList<Expression*>* GetNonPatternList() const; |