mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-06 16:38:48 +00:00
eliminate tabs from my previous commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61695 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd095b6389
commit
84fb959489
@ -98,7 +98,7 @@ private:
|
|||||||
|
|
||||||
Value *Val;
|
Value *Val;
|
||||||
Use *Next;
|
Use *Next;
|
||||||
PointerIntPair<Use**, 2, PrevPtrTag> Prev;
|
PointerIntPair<Use**, 2, PrevPtrTag> Prev;
|
||||||
|
|
||||||
void setPrev(Use **NewPrev) {
|
void setPrev(Use **NewPrev) {
|
||||||
Prev.setPointer(NewPrev);
|
Prev.setPointer(NewPrev);
|
||||||
|
@ -138,11 +138,11 @@ struct AugmentedUse : Use {
|
|||||||
|
|
||||||
User *Use::getUser() const {
|
User *Use::getUser() const {
|
||||||
const Use *End = getImpliedUser();
|
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();
|
User *She = ref.getPointer();
|
||||||
return ref.getInt()
|
return ref.getInt()
|
||||||
? She
|
? She
|
||||||
: (User*)End;
|
: (User*)End;
|
||||||
}
|
}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
@ -154,7 +154,7 @@ Use *User::allocHungoffUses(unsigned N) const {
|
|||||||
+ sizeof(AugmentedUse)
|
+ sizeof(AugmentedUse)
|
||||||
- sizeof(Use)));
|
- sizeof(Use)));
|
||||||
Use *End = Begin + N;
|
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.setPointer(const_cast<User*>(this));
|
||||||
ref.setInt(tagOne);
|
ref.setInt(tagOne);
|
||||||
return Use::initTags(Begin, End);
|
return Use::initTags(Begin, End);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user