| Index: tools/parser-shell.cc
|
| diff --git a/tools/parser-shell.cc b/tools/parser-shell.cc
|
| index 0517bbf0e69e88d01ab94e6eb38862ba6a1450e7..f3a3f49547aef7fabe8da5012cb1266ec09307c5 100644
|
| --- a/tools/parser-shell.cc
|
| +++ b/tools/parser-shell.cc
|
| @@ -99,8 +99,6 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser(
|
| info.set_compile_options(v8::ScriptCompiler::kProduceParserCache);
|
| v8::base::ElapsedTimer timer;
|
| timer.Start();
|
| - // Allow lazy parsing; otherwise we won't produce cached data.
|
| - info.set_allow_lazy_parsing();
|
| bool success = Parser::ParseStatic(&info);
|
| parse_time1 = timer.Elapsed();
|
| if (!success) {
|
| @@ -116,8 +114,6 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser(
|
| info.set_compile_options(v8::ScriptCompiler::kConsumeParserCache);
|
| v8::base::ElapsedTimer timer;
|
| timer.Start();
|
| - // Allow lazy parsing; otherwise cached data won't help.
|
| - info.set_allow_lazy_parsing();
|
| bool success = Parser::ParseStatic(&info);
|
| parse_time2 = timer.Elapsed();
|
| if (!success) {
|
|
|