mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-21 01:25:20 +00:00
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:
parent
fba9cdaa81
commit
3b46b6df91
@ -91,7 +91,7 @@ public:
|
|||||||
EmitPtr(Ptrs[i]);
|
EmitPtr(Ptrs[i]);
|
||||||
|
|
||||||
for (unsigned i = 0; i < NumPtrs; ++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(); }
|
void FlushRecord() { if (inRecord()) EmitRecord(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user