Index: src/parsing/preparser.h |
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h |
index 9291578dbce579f580b9b1004ac7b56d4856a125..81f886d01473137ccb60536a1191742c7a049c12 100644 |
--- a/src/parsing/preparser.h |
+++ b/src/parsing/preparser.h |
@@ -1317,6 +1317,14 @@ class PreParser : public ParserBase<PreParser> { |
return stmt; |
} |
+ V8_INLINE PreParserStatement InitializeForOfStatement( |
+ PreParserStatement stmt, PreParserExpression each, |
+ PreParserExpression iterable, PreParserStatement body, bool finalize, |
+ IteratorType type, int next_result_pos = kNoSourcePosition) { |
+ MarkExpressionAsAssigned(each); |
+ return stmt; |
+ } |
+ |
V8_INLINE PreParserStatement RewriteForVarInLegacy(const ForInfo& for_info) { |
return PreParserStatement::Null(); |
} |