Index: test/cctest/parsing/test-preparser.cc |
diff --git a/test/cctest/parsing/test-preparser.cc b/test/cctest/parsing/test-preparser.cc |
index d607bad4ee7e1a5d07c24eb6f2ee6a7e698edcb5..07c270de27e2cfda040c2982228c0b7b8a22618a 100644 |
--- a/test/cctest/parsing/test-preparser.cc |
+++ b/test/cctest/parsing/test-preparser.cc |
@@ -318,7 +318,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. |
@@ -343,7 +344,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)); |