| Index: src/background-parsing-task.cc
|
| diff --git a/src/background-parsing-task.cc b/src/background-parsing-task.cc
|
| index d7df9b4717395aa04799cfdcbbd7ff9be430848d..a79ce52788aeeef7284c1c3d13a2b93d69812744 100644
|
| --- a/src/background-parsing-task.cc
|
| +++ b/src/background-parsing-task.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "src/background-parsing-task.h"
|
| +#include "src/debug.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -31,7 +32,7 @@ BackgroundParsingTask::BackgroundParsingTask(
|
| info->set_global();
|
| info->set_unicode_cache(&source_->unicode_cache);
|
|
|
| - bool disable_lazy = Compiler::DebuggerWantsEagerCompilation(isolate);
|
| + bool disable_lazy = isolate->debug()->RequiresEagerCompilation();
|
| if (disable_lazy && options == ScriptCompiler::kProduceParserCache) {
|
| // Producing cached data while parsing eagerly is not supported.
|
| options = ScriptCompiler::kNoCompileOptions;
|
|
|