Index: src/background-parsing-task.cc |
diff --git a/src/background-parsing-task.cc b/src/background-parsing-task.cc |
index 03ff4ba14f737febde750ce4a7150e777058f54b..e8cbbff2b25d8736640714b78a3aae54a0a72b93 100644 |
--- a/src/background-parsing-task.cc |
+++ b/src/background-parsing-task.cc |
@@ -43,10 +43,7 @@ BackgroundParsingTask::BackgroundParsingTask( |
// Parse eagerly with ignition since we will compile eagerly. |
info->set_allow_lazy_parsing(!(i::FLAG_ignition && i::FLAG_ignition_eager)); |
- if (options == ScriptCompiler::kProduceParserCache || |
- options == ScriptCompiler::kProduceCodeCache) { |
- source_->info->set_cached_data(&script_data_); |
- } |
+ source_->info->set_cached_data(&script_data_); |
// Parser needs to stay alive for finalizing the parsing on the main |
// thread. |
source_->parser.reset(new Parser(source_->info.get())); |