mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-24 14:33:40 +00:00
eliminate tabs from my previous commit
llvm-svn: 61695
This commit is contained in:
parent
3b91310e36
commit
21349e4801
@ -98,7 +98,7 @@ private:
|
||||
|
||||
Value *Val;
|
||||
Use *Next;
|
||||
PointerIntPair<Use**, 2, PrevPtrTag> Prev;
|
||||
PointerIntPair<Use**, 2, PrevPtrTag> Prev;
|
||||
|
||||
void setPrev(Use **NewPrev) {
|
||||
Prev.setPointer(NewPrev);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user