Add a getMemorySize() function for DenseSet.
[oota-llvm.git] / include / llvm / ADT / DenseSet.h
index 8ab9a33200c3b5025e52897f7280fe3d33b9e766..776863a4c0ae1689ff37ba21d4c625e4acd6200f 100644 (file)
@@ -32,6 +32,7 @@ public:
 
   bool empty() const { return TheMap.empty(); }
   unsigned size() const { return TheMap.size(); }
+  size_t getMemorySize() const { return TheMap.getMemorySize(); }
 
   /// Grow the denseset so that it has at least Size buckets. Does not shrink
   void resize(size_t Size) { TheMap.resize(Size); }