diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-11-28 23:36:15 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-11-28 23:36:15 +0000 |
| commit | 845d73167046288fffe12acd04859345ae78488f (patch) | |
| tree | 0a1bf48352d4569c3fc5a649fe6f37c5c309ae87 | |
| parent | 7602e4bdbfbd3c825a07d3563bfd7c1966d1bbf0 (diff) | |
| download | bcm5719-llvm-845d73167046288fffe12acd04859345ae78488f.tar.gz bcm5719-llvm-845d73167046288fffe12acd04859345ae78488f.zip | |
fix a bug.
llvm-svn: 60225
| -rw-r--r-- | llvm/include/llvm/ADT/PointerIntPair.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/PointerIntPair.h b/llvm/include/llvm/ADT/PointerIntPair.h index 955dd40c68e..d2d7ff168f8 100644 --- a/llvm/include/llvm/ADT/PointerIntPair.h +++ b/llvm/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); } |

