Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index a3fa810a87e4e394b66006c812fbda5a61584474..8365d5dc80a3b184b9dbde197c4e5004777667cf 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -1464,9 +1464,6 @@ void Heap::MarkCompactEpilogue() { |
void Heap::MarkCompactPrologue() { |
- // At any old GC clear the keyed lookup cache to enable collection of unused |
- // maps. |
- isolate_->keyed_lookup_cache()->Clear(); |
isolate_->context_slot_cache()->Clear(); |
isolate_->descriptor_lookup_cache()->Clear(); |
RegExpResultsCache::Clear(string_split_cache()); |
@@ -2887,9 +2884,6 @@ void Heap::CreateInitialObjects() { |
set_noscript_shared_function_infos(Smi::kZero); |
- // Initialize keyed lookup cache. |
- isolate_->keyed_lookup_cache()->Clear(); |
- |
// Initialize context slot cache. |
isolate_->context_slot_cache()->Clear(); |