fix a bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60225 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-11-28 23:36:15 +00:00
parent 34b763694e
commit 762ac83271

View File

@ -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); }