Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index f2a3a3243f10f2a23fcfa97c51f048f978cd44a8..4553f2e1075b86c4de3a0717222306949323015b 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -820,7 +820,7 @@ static bool GetOptimizedCodeNow(CompilationInfo* info) { |
static bool GetOptimizedCodeLater(CompilationInfo* info) { |
Isolate* isolate = info->isolate(); |
- if (!isolate->optimizing_compiler_thread()->IsQueueAvailable()) { |
+ if (!isolate->optimizing_compile_dispatcher()->IsQueueAvailable()) { |
if (FLAG_trace_concurrent_recompilation) { |
PrintF(" ** Compilation queue full, will retry optimizing "); |
info->closure()->ShortPrint(); |
@@ -841,7 +841,7 @@ static bool GetOptimizedCodeLater(CompilationInfo* info) { |
OptimizedCompileJob* job = new (info->zone()) OptimizedCompileJob(info); |
OptimizedCompileJob::Status status = job->CreateGraph(); |
if (status != OptimizedCompileJob::SUCCEEDED) return false; |
- isolate->optimizing_compiler_thread()->QueueForOptimization(job); |
+ isolate->optimizing_compile_dispatcher()->QueueForOptimization(job); |
if (FLAG_trace_concurrent_recompilation) { |
PrintF(" ** Queued "); |