Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 3f2f3f80d07a6332da5e4b8ff5058a1f3d63a48a..301c49d76903c51c47d685b268f35dbf63e8366b 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -1362,6 +1362,9 @@ class Heap { |
void ReportHeapStatistics(const char* title); |
void ReportCodeStatistics(const char* title); |
#endif |
+#ifdef ENABLE_SLOW_DCHECKS |
+ int CountHandlesForObject(Object* object); |
+#endif |
private: |
class PretenuringScope; |