Fixed bug where we did not properly serialize owned objects due to a missing

dereference.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2007-11-07 23:32:06 +00:00
parent fba9cdaa81
commit 3b46b6df91

View File

@ -91,7 +91,7 @@ public:
EmitPtr(Ptrs[i]);
for (unsigned i = 0; i < NumPtrs; ++i)
if (Ptrs[i]) SerializeTrait<T>::Emit(*this,Ptrs[i]);
if (Ptrs[i]) SerializeTrait<T>::Emit(*this,*Ptrs[i]);
}
void FlushRecord() { if (inRecord()) EmitRecord(); }