forked from OSchip/llvm-project
Add a getMemorySize() function for DenseSet.
llvm-svn: 169163
This commit is contained in:
parent
a267d9b829
commit
8c114534ff
|
@ -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); }
|
||||
|
|
Loading…
Reference in New Issue