projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae45af
)
Initialize DenseSets lazily.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 21 Jul 2011 23:03:59 +0000
(23:03 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 21 Jul 2011 23:03:59 +0000
(23:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135717
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/DenseSet.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/DenseSet.h
b/include/llvm/ADT/DenseSet.h
index 67321f539848ce97a0118919770dae1a61ba8326..8ab9a33200c3b5025e52897f7280fe3d33b9e766 100644
(file)
--- a/
include/llvm/ADT/DenseSet.h
+++ b/
include/llvm/ADT/DenseSet.h
@@
-28,7
+28,7
@@
class DenseSet {
MapTy TheMap;
public:
DenseSet(const DenseSet &Other) : TheMap(Other.TheMap) {}
- explicit DenseSet(unsigned NumInitBuckets =
64
) : TheMap(NumInitBuckets) {}
+ explicit DenseSet(unsigned NumInitBuckets =
0
) : TheMap(NumInitBuckets) {}
bool empty() const { return TheMap.empty(); }
unsigned size() const { return TheMap.size(); }