diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-06-13 21:44:07 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-06-13 21:44:07 +0000 |
commit | 14d81c416c72dc779dd31a81f68ebd6a6456f6f0 (patch) | |
tree | ca0ee4556dd19f6bb5eb1b931de90e2bd55462d5 /include/llvm/ADT/DenseMap.h | |
parent | 8782707f5074ab3951eb6424394bc8d2a2fa584a (diff) |
Group the 'unsigned' members after the pointer to avoid 4 bytes of
padding on x86-64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/DenseMap.h')
-rw-r--r-- | include/llvm/ADT/DenseMap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index 07a17535fc..17131a2140 100644 --- 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: |