diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-06-16 01:18:07 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-06-16 01:18:07 +0000 |
commit | 48f4dcf0f7fd64df00839018d633944bc2464501 (patch) | |
tree | 4acbf46b47779f10edad1038bd2d0e4c3ef3c7ed /lib/Transforms/Hello/Hello.cpp | |
parent | 7f6c82a7e0fbf8ed012bc76471576c8cc42370a3 (diff) |
Lift the NumElements and NumTombstones members into the super class
rather than the base class. Add a pile of boilerplate to indirect around
this.
This is pretty ugly, but it allows the super class to change the
representation of these values, which will be key for doing
a SmallDenseMap.
Suggestions on better method structuring / naming are welcome, but keep
in mind that SmallDenseMap won't have an 'unsigned' member to expose
a reference to... =/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Hello/Hello.cpp')
0 files changed, 0 insertions, 0 deletions