Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: tools/parser-shell.cc

Issue 2513563002: Remove FLAG_min_preparse_length. (Closed)
Patch Set: test262 expectations Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/webkit/fast/js/parser-syntax-check-expected.txt ('k') | tools/testrunner/local/variants.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « test/webkit/fast/js/parser-syntax-check-expected.txt ('k') | tools/testrunner/local/variants.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698