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 33d64d3f20321180d99f5dd536d5bd6d90f2ddcf..8bf4c600dcf45a2f5f7b7e8e31b05a2b3e7a45f2 100644 |
--- a/test/cctest/test-ast-expression-visitor.cc |
+++ b/test/cctest/test-ast-expression-visitor.cc |
@@ -38,12 +38,12 @@ static void CollectTypes(HandleAndZoneScope* handles, const char* source, |
info.set_allow_lazy_parsing(false); |
info.set_toplevel(true); |
- i::CompilationInfo compilation_info(&info); |
CHECK(i::Compiler::ParseAndAnalyze(&info)); |
- info.set_literal( |
- info.scope()->declarations()->at(0)->AsFunctionDeclaration()->fun()); |
- ExpressionTypeCollector(&compilation_info, dst).Run(); |
+ ExpressionTypeCollector( |
+ isolate, handles->main_zone(), |
+ info.scope()->declarations()->at(0)->AsFunctionDeclaration()->fun(), dst) |
+ .Run(); |
} |
} |