Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index c9f79bb761f9b433c5bda4f8e834edd386114c7a..f4ef6953fd6352bc59b9d64726c93ec6379a7a97 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -944,6 +944,9 @@ class Heap { |
// Returns whether it succeeded. |
bool CreateHeapObjects(); |
+ // Create ObjectStats if live_object_stats_ or dead_object_stats_ are nullptr. |
+ V8_INLINE void CreateObjectStats(); |
+ |
// Destroys all memory allocated by the heap. |
void TearDown(); |