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

Unified Diff: src/background-parsing-task.cc

Issue 2409103005: Remove explicitly setting of allow_lazy_parsing in background-parsing-task.cc (Closed)
Patch Set: Make sure to set_allow_lazy_parsing in the background parsing task Created 4 years, 2 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/background-parsing-task.cc
diff --git a/src/background-parsing-task.cc b/src/background-parsing-task.cc
index 03ff4ba14f737febde750ce4a7150e777058f54b..f4b209ad22774331823ce3563d3d69ff8c961222 100644
--- a/src/background-parsing-task.cc
+++ b/src/background-parsing-task.cc
@@ -40,8 +40,7 @@ BackgroundParsingTask::BackgroundParsingTask(
info->set_hash_seed(isolate->heap()->HashSeed());
info->set_unicode_cache(&source_->unicode_cache);
info->set_compile_options(options);
- // Parse eagerly with ignition since we will compile eagerly.
- info->set_allow_lazy_parsing(!(i::FLAG_ignition && i::FLAG_ignition_eager));
+ info->set_allow_lazy_parsing();
if (options == ScriptCompiler::kProduceParserCache ||
options == ScriptCompiler::kProduceCodeCache) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698