diff options
author | Gabor Greif <ggreif@gmail.com> | 2009-01-05 16:28:14 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2009-01-05 16:28:14 +0000 |
commit | a5c378b0aa8d510957f6309b066e87cb49fdf74a (patch) | |
tree | dcc4ac19d7b6153b5e240aa38183da084fbab9fb /lib/VMCore/Use.cpp | |
parent | 50626fc128f5ae5c7b4d179cbe38e4cb5d053c70 (diff) | |
download | external_llvm-a5c378b0aa8d510957f6309b066e87cb49fdf74a.zip external_llvm-a5c378b0aa8d510957f6309b066e87cb49fdf74a.tar.gz external_llvm-a5c378b0aa8d510957f6309b066e87cb49fdf74a.tar.bz2 |
eliminate tabs from my previous commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Use.cpp')
-rw-r--r-- | lib/VMCore/Use.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/Use.cpp b/lib/VMCore/Use.cpp index da21eba..c44c17f 100644 --- a/lib/VMCore/Use.cpp +++ b/lib/VMCore/Use.cpp @@ -138,11 +138,11 @@ struct AugmentedUse : Use { User *Use::getUser() const { const Use *End = getImpliedUser(); - PointerIntPair<User*, 1, Tag>& ref(static_cast<const AugmentedUse*>(End - 1)->ref); + PointerIntPair<User*, 1, Tag>& ref(static_cast<const AugmentedUse*>(End - 1)->ref); User *She = ref.getPointer(); return ref.getInt() - ? She - : (User*)End; + ? She + : (User*)End; } //===----------------------------------------------------------------------===// @@ -154,7 +154,7 @@ 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, Tag>& ref(static_cast<AugmentedUse&>(End[-1]).ref); ref.setPointer(const_cast<User*>(this)); ref.setInt(tagOne); return Use::initTags(Begin, End); |