| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 46ec6cf660f841ffde53d4a47d1298c4ed217afa..90d0797454558d2ce676fa75e4a84db0a8d7a5be 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -1499,6 +1499,13 @@ class Heap {
|
|
|
| void ClearNormalizedMapCaches();
|
|
|
| + // Clears the cache of ICs related to this map.
|
| + void ClearCacheOnMap(Map* map) {
|
| + if (FLAG_cleanup_code_caches_at_gc) {
|
| + map->ClearCodeCache(this);
|
| + }
|
| + }
|
| +
|
| GCTracer* tracer() { return tracer_; }
|
|
|
| // Returns the size of objects residing in non new spaces.
|
|
|