Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: src/compiler-dispatcher/compiler-dispatcher-job.cc

Issue 2579973002: Don't compile inner functions when compiling via the dispatcher (Closed)
Patch Set: added comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler-dispatcher/compiler-dispatcher-job.cc
diff --git a/src/compiler-dispatcher/compiler-dispatcher-job.cc b/src/compiler-dispatcher/compiler-dispatcher-job.cc
index b9e956caadde172d2c0db335d683f4a7f4c0f521..879ff063459a1656cb1ba4bb538576a8c6af5f44 100644
--- a/src/compiler-dispatcher/compiler-dispatcher-job.cc
+++ b/src/compiler-dispatcher/compiler-dispatcher-job.cc
@@ -183,8 +183,8 @@ bool CompilerDispatcherJob::PrepareToCompileOnMainThread() {
DeferredHandleScope scope(isolate_);
if (Compiler::Analyze(parse_info_.get())) {
- compile_job_.reset(
- Compiler::PrepareUnoptimizedCompilationJob(compile_info_.get()));
+ compile_job_.reset(Compiler::PrepareUnoptimizedCompilationJob(
+ compile_info_.get(), LazyCompilationMode::kAlways));
}
compile_info_->set_deferred_handles(scope.Detach());
« src/compiler.h ('K') | « src/compiler.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698