Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 6367c74c0a8373a0caa6ed2c76f9534332099c36..62a5bcc397273214c881ac59ab57df6a31b170e8 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -1078,6 +1078,7 @@ enum ParserFlag { |
kAllowHarmonyScoping, |
kAllowModules, |
kAllowGenerators, |
+ kAllowForOf, |
kParserFlagCount |
}; |
@@ -1094,7 +1095,8 @@ static bool checkParserFlag(unsigned flags, ParserFlag flag) { |
parser.set_allow_harmony_scoping(checkParserFlag(flags, \ |
kAllowHarmonyScoping)); \ |
parser.set_allow_modules(checkParserFlag(flags, kAllowModules)); \ |
- parser.set_allow_generators(checkParserFlag(flags, kAllowGenerators)); |
+ parser.set_allow_generators(checkParserFlag(flags, kAllowGenerators)); \ |
+ parser.set_allow_for_of(checkParserFlag(flags, kAllowForOf)); |
void TestParserSyncWithFlags(i::Handle<i::String> source, unsigned flags) { |
i::Isolate* isolate = i::Isolate::Current(); |