llvm.org GIT mirror llvm / 37884fc
Constant-propagate the value of `isL' variable and eliminate it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20698 91177308-0d34-0410-b5e6-96231b3b80d8 Misha Brukman 15 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
8383
8484 void setNext(const ECValue *NewNext) const {
8585 assert(getNext() == 0 && "Already has a next pointer!");
86 bool isL = isLeader();
87 Next = (const ECValue*)((intptr_t)NewNext | (intptr_t)isL);
86 Next = (const ECValue*)((intptr_t)NewNext | (intptr_t)isLeader());
8887 }
8988 public:
9089 ECValue(const ECValue &RHS) : Leader(this), Next((ECValue*)(intptr_t)1),