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:
8782707
)
Group the 'unsigned' members after the pointer to avoid 4 bytes of
author
Chandler Carruth
<chandlerc@gmail.com>
Wed, 13 Jun 2012 21:44:07 +0000
(21:44 +0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Wed, 13 Jun 2012 21:44:07 +0000
(21:44 +0000)
padding on x86-64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158421
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/DenseMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/DenseMap.h
b/include/llvm/ADT/DenseMap.h
index 07a17535fc976e8ca9822d30a2fbb02efd14c7ea..17131a21400be0b6fe2c1ff54cb65546f1c53208 100644
(file)
--- a/
include/llvm/ADT/DenseMap.h
+++ b/
include/llvm/ADT/DenseMap.h
@@
-38,9
+38,9
@@
template<typename KeyT, typename ValueT,
typename KeyInfoT = DenseMapInfo<KeyT> >
class DenseMap {
typedef std::pair<KeyT, ValueT> BucketT;
- unsigned NumBuckets;
BucketT *Buckets;
+ unsigned NumBuckets;
unsigned NumEntries;
unsigned NumTombstones;
public: