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

Unified Diff: src/objects.cc

Issue 2474653002: Revert of [ic] Experiment: disable map-specific handler cache. (Closed)
Patch Set: Created 4 years, 1 month 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/ic/handler-compiler.cc ('k') | test/cctest/test-code-cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 996aafa9f61dcdaf7789666549be3480326adbb9..fd2cd107a3ecc0aba08aa45066dbf8742210919b 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -9992,8 +9992,6 @@
void Map::UpdateCodeCache(Handle<Map> map,
Handle<Name> name,
Handle<Code> code) {
- // TODO(ishell): Experiment: don't cache handlers in map-specific code cache.
- return;
Isolate* isolate = map->GetIsolate();
Handle<FixedArray> cache(map->code_cache(), isolate);
Handle<FixedArray> new_cache = CodeCache::Put(isolate, cache, name, code);
« no previous file with comments | « src/ic/handler-compiler.cc ('k') | test/cctest/test-code-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698