mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 12:21:04 +00:00
Silence VC++ warning about mixing intptr_t and bool, and about unused variable isL.
llvm-svn: 20697
This commit is contained in:
parent
f17cd879c0
commit
c5c4aa7911
@ -85,7 +85,7 @@ class EquivalenceClasses {
|
||||
void setNext(const ECValue *NewNext) const {
|
||||
assert(getNext() == 0 && "Already has a next pointer!");
|
||||
bool isL = isLeader();
|
||||
Next = (const ECValue*)((intptr_t)NewNext | isLeader());
|
||||
Next = (const ECValue*)((intptr_t)NewNext | (intptr_t)isL);
|
||||
}
|
||||
public:
|
||||
ECValue(const ECValue &RHS) : Leader(this), Next((ECValue*)(intptr_t)1),
|
||||
|
Loading…
Reference in New Issue
Block a user