Index: test/fuzzer/parser.cc |
diff --git a/test/fuzzer/parser.cc b/test/fuzzer/parser.cc |
index 2b31bf5aabaf0f159761433cac49e6d17132de15..4ce4acb8bdb35c9700f4c0840c70d01eaf2fd2c5 100644 |
--- a/test/fuzzer/parser.cc |
+++ b/test/fuzzer/parser.cc |
@@ -35,7 +35,8 @@ |
v8::internal::Handle<v8::internal::Script> script = |
factory->NewScript(source.ToHandleChecked()); |
- v8::internal::ParseInfo info(script); |
+ v8::internal::Zone zone(i_isolate->allocator(), ZONE_NAME); |
+ v8::internal::ParseInfo info(&zone, script); |
v8::internal::parsing::ParseProgram(&info); |
isolate->RequestGarbageCollectionForTesting( |
v8::Isolate::kFullGarbageCollection); |