Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: src/heap/heap.cc

Issue 2424433002: [ic] Delete old KeyedLoadIC code (Closed)
Patch Set: fix failing test Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/flag-definitions.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « src/flag-definitions.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698