Index: tools/parser-shell.cc |
diff --git a/tools/parser-shell.cc b/tools/parser-shell.cc |
index 29f52075cd04233440abb01eb0469901ff320959..15458eb129b910ec78636264821e02952f66ff1a 100644 |
--- a/tools/parser-shell.cc |
+++ b/tools/parser-shell.cc |
@@ -94,7 +94,8 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser( |
i::ScriptData* cached_data_impl = NULL; |
// First round of parsing (produce data to cache). |
{ |
- ParseInfo info(script); |
+ Zone zone(reinterpret_cast<i::Isolate*>(isolate)->allocator(), ZONE_NAME); |
+ ParseInfo info(&zone, script); |
info.set_cached_data(&cached_data_impl); |
info.set_compile_options(v8::ScriptCompiler::kProduceParserCache); |
v8::base::ElapsedTimer timer; |
@@ -108,7 +109,8 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser( |
} |
// Second round of parsing (consume cached data). |
{ |
- ParseInfo info(script); |
+ Zone zone(reinterpret_cast<i::Isolate*>(isolate)->allocator(), ZONE_NAME); |
+ ParseInfo info(&zone, script); |
info.set_cached_data(&cached_data_impl); |
info.set_compile_options(v8::ScriptCompiler::kConsumeParserCache); |
v8::base::ElapsedTimer timer; |