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

Unified Diff: src/compiler.cc

Issue 2658803002: [Compiler] Put background compilation of eager inner functions behind a flag. (Closed)
Patch Set: Created 3 years, 11 months 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
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 41c091fd9821d4b2080a1e4c6350582563a6ff21..5c609fc034760547e09c930f43c6616c27aac290 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -386,7 +386,8 @@ bool UseCompilerDispatcher(CompilerDispatcher* dispatcher,
DeclarationScope* scope,
Handle<SharedFunctionInfo> shared_info,
bool is_debug, bool will_serialize) {
- return dispatcher->IsEnabled() && !is_debug && !will_serialize &&
+ return FLAG_compiler_dispatcher_eager_inner && dispatcher->IsEnabled() &&
+ !is_debug && !will_serialize &&
!UseAsmWasm(scope, shared_info, is_debug);
}
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698