| Index: tools/parser-shell.cc
|
| diff --git a/tools/parser-shell.cc b/tools/parser-shell.cc
|
| index 5f2a8034e80fa024ee39eb5c6b5afaf6d24b164a..3fe735986b2d1f006e282edd6d8952732e633593 100644
|
| --- a/tools/parser-shell.cc
|
| +++ b/tools/parser-shell.cc
|
| @@ -89,8 +89,7 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser(
|
| // First round of parsing (produce data to cache).
|
| {
|
| Zone zone;
|
| - ParseInfo info(&zone);
|
| - info.InitializeFromScript(script);
|
| + ParseInfo info(&zone, script);
|
| info.set_global();
|
| info.set_cached_data(&cached_data_impl);
|
| info.set_compile_options(v8::ScriptCompiler::kProduceParserCache);
|
| @@ -108,8 +107,7 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser(
|
| // Second round of parsing (consume cached data).
|
| {
|
| Zone zone;
|
| - ParseInfo info(&zone);
|
| - info.InitializeFromScript(script);
|
| + ParseInfo info(&zone, script);
|
| info.set_global();
|
| info.set_cached_data(&cached_data_impl);
|
| info.set_compile_options(v8::ScriptCompiler::kConsumeParserCache);
|
|
|