Index: test/cctest/test-ast-expression-visitor.cc |
diff --git a/test/cctest/test-ast-expression-visitor.cc b/test/cctest/test-ast-expression-visitor.cc |
index 0f94ae67d38e22d1942a8fdabf1d16b39cfc9628..b95905e32ea32d416c3d8d96cb1781be605033c3 100644 |
--- a/test/cctest/test-ast-expression-visitor.cc |
+++ b/test/cctest/test-ast-expression-visitor.cc |
@@ -40,7 +40,7 @@ static void CollectTypes(HandleAndZoneScope* handles, const char* source, |
CHECK(i::Compiler::ParseAndAnalyze(&info)); |
ExpressionTypeCollector( |
- isolate, handles->main_zone(), |
+ isolate, |
info.scope()->declarations()->at(0)->AsFunctionDeclaration()->fun(), dst) |
.Run(); |
} |