Commit 647d7b6c authored by rmcilroy's avatar rmcilroy Committed by Commit bot

[Compiler] Put background compilation of eager inner functions behind a flag.

Disabled until clusterfuzz issues are sorted.

BUG=v8:5203, v8:5215, chromium:685515, chromium:685476

Review-Url: https://codereview.chromium.org/2658803002
Cr-Commit-Position: refs/heads/master@{#42686}
parent d4507a6c
...@@ -386,7 +386,8 @@ bool UseCompilerDispatcher(CompilerDispatcher* dispatcher, ...@@ -386,7 +386,8 @@ bool UseCompilerDispatcher(CompilerDispatcher* dispatcher,
DeclarationScope* scope, DeclarationScope* scope,
Handle<SharedFunctionInfo> shared_info, Handle<SharedFunctionInfo> shared_info,
bool is_debug, bool will_serialize) { 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); !UseAsmWasm(scope, shared_info, is_debug);
} }
......
...@@ -679,6 +679,8 @@ DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions") ...@@ -679,6 +679,8 @@ DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions")
// compiler-dispatcher.cc // compiler-dispatcher.cc
DEFINE_BOOL(compiler_dispatcher, false, "enable compiler dispatcher") DEFINE_BOOL(compiler_dispatcher, false, "enable compiler dispatcher")
DEFINE_BOOL(compiler_dispatcher_eager_inner, false,
"enable background compilation of eager inner functions")
DEFINE_BOOL(trace_compiler_dispatcher, false, DEFINE_BOOL(trace_compiler_dispatcher, false,
"trace compiler dispatcher activity") "trace compiler dispatcher activity")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment