Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 22eea2dcad75f40fe5af4d5717d55614ebd0ece3..1fe546386ba8d8baa5c452f87a218a19a2111781 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -441,7 +441,7 @@ void Heap::GarbageCollectionPrologue() { |
store_buffer()->GCPrologue(); |
if (isolate()->concurrent_osr_enabled()) { |
- isolate()->optimizing_compile_dispatcher()->AgeBufferedOsrJobs(); |
+ isolate()->optimizing_compiler_thread()->AgeBufferedOsrJobs(); |
} |
if (new_space_.IsAtMaximumCapacity()) { |
@@ -784,7 +784,7 @@ void Heap::CollectAllAvailableGarbage(const char* gc_reason) { |
if (isolate()->concurrent_recompilation_enabled()) { |
// The optimizing compiler may be unnecessarily holding on to memory. |
DisallowHeapAllocation no_recursive_gc; |
- isolate()->optimizing_compile_dispatcher()->Flush(); |
+ isolate()->optimizing_compiler_thread()->Flush(); |
} |
isolate()->ClearSerializerData(); |
mark_compact_collector()->SetFlags(kMakeHeapIterableMask | |
@@ -902,7 +902,7 @@ int Heap::NotifyContextDisposed(bool dependant_context) { |
} |
if (isolate()->concurrent_recompilation_enabled()) { |
// Flush the queued recompilation tasks. |
- isolate()->optimizing_compile_dispatcher()->Flush(); |
+ isolate()->optimizing_compiler_thread()->Flush(); |
} |
AgeInlineCaches(); |
set_retained_maps(ArrayList::cast(empty_fixed_array())); |