Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 3e16683c5c59b1ca261a7f3cacfbf33e7f59aadf..f73bb37f4689a10352e18ce7d20af562ca950c8b 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9706,7 +9706,7 @@ void JSFunction::AttemptConcurrentOptimization() { |
return; |
} |
if (isolate->concurrent_osr_enabled() && |
- isolate->optimizing_compile_dispatcher()->IsQueuedForOSR(this)) { |
+ isolate->optimizing_compiler_thread()->IsQueuedForOSR(this)) { |
// Do not attempt regular recompilation if we already queued this for OSR. |
// TODO(yangguo): This is necessary so that we don't install optimized |
// code on a function that is already optimized, since OSR and regular |