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:
34b7636
)
fix a bug.
author
Chris Lattner
<sabre@nondot.org>
Fri, 28 Nov 2008 23:36:15 +0000
(23:36 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 28 Nov 2008 23:36:15 +0000
(23:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60225
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/PointerIntPair.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/PointerIntPair.h
b/include/llvm/ADT/PointerIntPair.h
index 955dd40c68e18347ea4230c3cf872a14718e6bf5..d2d7ff168f8dafa41fa4c6f2832ef416c0063117 100644
(file)
--- a/
include/llvm/ADT/PointerIntPair.h
+++ b/
include/llvm/ADT/PointerIntPair.h
@@
-51,7
+51,7
@@
public:
void setInt(IntType Int) {
assert(Int < (1 << IntBits) && "Integer too large for field");
- Value
|
= reinterpret_cast<intptr_t>(getPointer()) | (intptr_t)Int;
+ Value = reinterpret_cast<intptr_t>(getPointer()) | (intptr_t)Int;
}
void *getOpaqueValue() const { return reinterpret_cast<void*>(Value); }