fix a bug.

llvm-svn: 60225
This commit is contained in:
Chris Lattner 2008-11-28 23:36:15 +00:00
parent 7602e4bdbf
commit 845d731670
1 changed files with 1 additions and 1 deletions

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