| Index: tools/parser-shell.cc
|
| diff --git a/tools/parser-shell.cc b/tools/parser-shell.cc
|
| index 6b5c0263c866b38abfd6e667370e3ec91f8cd514..09210876be0af38a56aada7d7fba21eca38d4c1b 100644
|
| --- a/tools/parser-shell.cc
|
| +++ b/tools/parser-shell.cc
|
| @@ -90,7 +90,8 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser(
|
| {
|
| CompilationInfoWithZone info(script);
|
| info.MarkAsGlobal();
|
| - info.SetCachedData(&cached_data_impl, i::PRODUCE_CACHED_DATA);
|
| + info.SetCachedData(&cached_data_impl,
|
| + v8::ScriptCompiler::kProduceParserCache);
|
| v8::base::ElapsedTimer timer;
|
| timer.Start();
|
| // Allow lazy parsing; otherwise we won't produce cached data.
|
| @@ -105,7 +106,8 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser(
|
| {
|
| CompilationInfoWithZone info(script);
|
| info.MarkAsGlobal();
|
| - info.SetCachedData(&cached_data_impl, i::CONSUME_CACHED_DATA);
|
| + info.SetCachedData(&cached_data_impl,
|
| + v8::ScriptCompiler::kConsumeParserCache);
|
| v8::base::ElapsedTimer timer;
|
| timer.Start();
|
| // Allow lazy parsing; otherwise cached data won't help.
|
|
|