Index: src/background-parsing-task.cc |
diff --git a/src/background-parsing-task.cc b/src/background-parsing-task.cc |
index a79ce52788aeeef7284c1c3d13a2b93d69812744..c0dba93a533663a51f319e42bda75fb769ecbf54 100644 |
--- a/src/background-parsing-task.cc |
+++ b/src/background-parsing-task.cc |
@@ -31,15 +31,8 @@ BackgroundParsingTask::BackgroundParsingTask( |
info->set_hash_seed(isolate->heap()->HashSeed()); |
info->set_global(); |
info->set_unicode_cache(&source_->unicode_cache); |
- |
- bool disable_lazy = isolate->debug()->RequiresEagerCompilation(); |
- if (disable_lazy && options == ScriptCompiler::kProduceParserCache) { |
- // Producing cached data while parsing eagerly is not supported. |
- options = ScriptCompiler::kNoCompileOptions; |
- } |
- |
info->set_compile_options(options); |
- info->set_allow_lazy_parsing(!disable_lazy); |
+ info->set_allow_lazy_parsing(true); |
} |