Index: test/cctest/compiler/test-loop-assignment-analysis.cc |
diff --git a/test/cctest/compiler/test-loop-assignment-analysis.cc b/test/cctest/compiler/test-loop-assignment-analysis.cc |
index a99f3b35ce9b428e70020c49fb077d5008c5d8d5..ed45cdec11ad3c6921057d7e68f04e1044c66319 100644 |
--- a/test/cctest/compiler/test-loop-assignment-analysis.cc |
+++ b/test/cctest/compiler/test-loop-assignment-analysis.cc |
@@ -37,7 +37,7 @@ struct TestHelper : public HandleAndZoneScope { |
CHECK(Parser::ParseStatic(&parse_info)); |
CHECK(Rewriter::Rewrite(&parse_info)); |
- DeclarationScope::Analyze(&parse_info); |
+ DeclarationScope::Analyze(&parse_info, AnalyzeMode::kRegular); |
DeclarationScope* scope = info.literal()->scope(); |
AstValueFactory* factory = parse_info.ast_value_factory(); |