projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2413a68
)
Constant-propagate the value of `isL' variable and eliminate it.
author
Misha Brukman
<brukman+llvm@gmail.com>
Sat, 19 Mar 2005 23:39:50 +0000
(23:39 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Sat, 19 Mar 2005 23:39:50 +0000
(23:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20698
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/EquivalenceClasses.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/EquivalenceClasses.h
b/include/llvm/ADT/EquivalenceClasses.h
index 2ca78e4f1a7ddd44ecc38d9ba59dc6036973c840..0c62cb57db5b477f5ac5c3b7c03fe99a769f37c6 100644
(file)
--- a/
include/llvm/ADT/EquivalenceClasses.h
+++ b/
include/llvm/ADT/EquivalenceClasses.h
@@
-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),