projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a267d9b
)
Add a getMemorySize() function for DenseSet.
author
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Mon, 3 Dec 2012 21:46:21 +0000
(21:46 +0000)
committer
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Mon, 3 Dec 2012 21:46:21 +0000
(21:46 +0000)
llvm-svn: 169163
llvm/include/llvm/ADT/DenseSet.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/ADT/DenseSet.h
b/llvm/include/llvm/ADT/DenseSet.h
index
8ab9a33
..
776863a
100644
(file)
--- a/
llvm/include/llvm/ADT/DenseSet.h
+++ b/
llvm/include/llvm/ADT/DenseSet.h
@@
-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); }