diff options
author | Jay Foad <jay.foad@gmail.com> | 2011-01-17 15:18:06 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2011-01-17 15:18:06 +0000 |
commit | 0d1941a46fecefc1bbb83dc358a7092f49eb1890 (patch) | |
tree | 3750f8d1e9de61d10679028ddfb3fdec1b8d9610 /lib/VMCore/User.cpp | |
parent | 9dcb98cbe73e151490054d361834e955a80c4950 (diff) |
Remove useless Tag enumeration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/User.cpp')
-rw-r--r-- | lib/VMCore/User.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/VMCore/User.cpp b/lib/VMCore/User.cpp index 153eb34e09..ba2b2081db 100644 --- a/lib/VMCore/User.cpp +++ b/lib/VMCore/User.cpp @@ -44,9 +44,10 @@ Use *User::allocHungoffUses(unsigned N) const { + sizeof(AugmentedUse) - sizeof(Use))); Use *End = Begin + N; - PointerIntPair<User*, 1, Tag>& ref(static_cast<AugmentedUse&>(End[-1]).ref); + PointerIntPair<User*, 1, unsigned>& + ref(static_cast<AugmentedUse&>(End[-1]).ref); ref.setPointer(const_cast<User*>(this)); - ref.setInt(tagOne); + ref.setInt(1); return Use::initTags(Begin, End); } |