Index: src/background-parsing-task.cc |
diff --git a/src/background-parsing-task.cc b/src/background-parsing-task.cc |
index cc80e0114319a7af442123aea05cbace4ead89a2..3142626280de7ebee5d8e6dfc1080a567d3f282d 100644 |
--- a/src/background-parsing-task.cc |
+++ b/src/background-parsing-task.cc |
@@ -32,7 +32,8 @@ BackgroundParsingTask::BackgroundParsingTask( |
info->set_global(); |
info->set_unicode_cache(&source_->unicode_cache); |
info->set_compile_options(options); |
- info->set_allow_lazy_parsing(true); |
+ // Parse eagerly with ignition since we will compile eagerly. |
+ info->set_allow_lazy_parsing(!(i::FLAG_ignition && i::FLAG_ignition_eager)); |
} |