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