| Index: src/background-parsing-task.cc
|
| diff --git a/src/background-parsing-task.cc b/src/background-parsing-task.cc
|
| index d7df9b4717395aa04799cfdcbbd7ff9be430848d..993cbe06677e56698a2bc84f25650d9d5380c108 100644
|
| --- a/src/background-parsing-task.cc
|
| +++ b/src/background-parsing-task.cc
|
| @@ -31,14 +31,11 @@ BackgroundParsingTask::BackgroundParsingTask(
|
| info->set_global();
|
| info->set_unicode_cache(&source_->unicode_cache);
|
|
|
| - bool disable_lazy = Compiler::DebuggerWantsEagerCompilation(isolate);
|
| - 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);
|
| +
|
| + // The background parsing task is not used for eval, where we may compile for
|
| + // debugging. Without compiling inner functions eagerly, we can parse lazily.
|
| + info->set_allow_lazy_parsing(true);
|
| }
|
|
|
|
|
|
|