Index: src/runtime/runtime-compiler.cc |
diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc |
index aa007b7ebb6ce903091c735a5d218564415cd6dd..d8512fdfb540b546badd2fe7e72303fd629ce27f 100644 |
--- a/src/runtime/runtime-compiler.cc |
+++ b/src/runtime/runtime-compiler.cc |
@@ -232,8 +232,7 @@ RUNTIME_FUNCTION(Runtime_CompileForOnStackReplacement) { |
// Gate the OSR entry with a stack check. |
BackEdgeTable::AddStackCheck(caller_code, pc_offset); |
// Poll already queued compilation jobs. |
- OptimizingCompileDispatcher* thread = |
- isolate->optimizing_compile_dispatcher(); |
+ OptimizingCompilerThread* thread = isolate->optimizing_compiler_thread(); |
if (thread->IsQueuedForOSR(function, ast_id)) { |
if (FLAG_trace_osr) { |
PrintF("[OSR - Still waiting for queued: "); |
@@ -325,7 +324,7 @@ RUNTIME_FUNCTION(Runtime_TryInstallOptimizedCode) { |
return isolate->StackOverflow(); |
} |
- isolate->optimizing_compile_dispatcher()->InstallOptimizedFunctions(); |
+ isolate->optimizing_compiler_thread()->InstallOptimizedFunctions(); |
return (function->IsOptimized()) ? function->code() |
: function->shared()->code(); |
} |