Index: test/cctest/parsing/test-preparser.cc |
diff --git a/test/cctest/parsing/test-preparser.cc b/test/cctest/parsing/test-preparser.cc |
index be9bd8512d5c6f7b7a3b029def05cd55fb09c01b..4635d95d3cbdb3ff70ecde46a2d0c610a979af39 100644 |
--- a/test/cctest/parsing/test-preparser.cc |
+++ b/test/cctest/parsing/test-preparser.cc |
@@ -324,8 +324,7 @@ TEST(PreParserScopeAnalysis) { |
printf("\n"); |
i::Handle<i::Script> script = factory->NewScript(source); |
- i::Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME); |
- i::ParseInfo lazy_info(&zone, script); |
+ i::ParseInfo lazy_info(script); |
// No need to run scope analysis; preparser scope data is produced when |
// parsing. |
@@ -350,7 +349,7 @@ TEST(PreParserScopeAnalysis) { |
printf("\n"); |
script = factory->NewScript(source); |
- i::ParseInfo eager_info(&zone, script); |
+ i::ParseInfo eager_info(script); |
eager_info.set_allow_lazy_parsing(false); |
CHECK(i::parsing::ParseProgram(&eager_info)); |