Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index c2d4e531ba2853becd1a1d9b279340578274702e..7725ca698698112a5acad489feea30bd3e27a133 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -945,6 +945,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(); |