Index: src/heap/object-stats.h |
diff --git a/src/heap/object-stats.h b/src/heap/object-stats.h |
index 38c2070fcd532004b5ad6e97711464d8b8bc3550..4780696952064d54881727f15fc4ce4e2bc541ad 100644 |
--- a/src/heap/object-stats.h |
+++ b/src/heap/object-stats.h |
@@ -127,6 +127,8 @@ class ObjectStatsCollector { |
void CollectStatistics(HeapObject* obj); |
private: |
+ class CompilationCacheTableVisitor; |
+ |
void RecordBytecodeArrayDetails(BytecodeArray* obj); |
void RecordCodeDetails(Code* code); |
void RecordFixedArrayDetails(FixedArray* array); |
@@ -136,6 +138,7 @@ class ObjectStatsCollector { |
void RecordJSWeakCollectionDetails(JSWeakCollection* obj); |
void RecordMapDetails(Map* map); |
void RecordScriptDetails(Script* obj); |
+ void RecordTemplateInfoDetails(TemplateInfo* obj); |
void RecordSharedFunctionInfoDetails(SharedFunctionInfo* sfi); |
bool RecordFixedArrayHelper(HeapObject* parent, FixedArray* array, |
@@ -146,6 +149,8 @@ class ObjectStatsCollector { |
void RecordHashTableHelper(HeapObject* parent, HashTable* array, int subtype); |
Heap* heap_; |
ObjectStats* stats_; |
+ |
+ friend class ObjectStatsCollector::CompilationCacheTableVisitor; |
}; |
} // namespace internal |