Constant-propagate the value of `isL' variable and eliminate it.

llvm-svn: 20698
This commit is contained in:
Misha Brukman 2005-03-19 23:39:50 +00:00
parent f4ab9e5965
commit 42f1cfd637
1 changed files with 1 additions and 2 deletions

View File

@ -84,8 +84,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 | (intptr_t)isL);
Next = (const ECValue*)((intptr_t)NewNext | (intptr_t)isLeader());
}
public:
ECValue(const ECValue &RHS) : Leader(this), Next((ECValue*)(intptr_t)1),