Add a getMemorySize() function for DenseSet.

llvm-svn: 169163
This commit is contained in:
Argyrios Kyrtzidis 2012-12-03 21:46:21 +00:00
parent a267d9b829
commit 8c114534ff
1 changed files with 1 additions and 0 deletions

View 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); }