From 3b46b6df91a61927d66eeae46568adb8927abe57 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 7 Nov 2007 23:32:06 +0000 Subject: [PATCH] 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 --- include/llvm/Bitcode/Serialize.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Bitcode/Serialize.h b/include/llvm/Bitcode/Serialize.h index 24e9f60951f..0a647d06b1b 100644 --- a/include/llvm/Bitcode/Serialize.h +++ b/include/llvm/Bitcode/Serialize.h @@ -91,7 +91,7 @@ public: EmitPtr(Ptrs[i]); for (unsigned i = 0; i < NumPtrs; ++i) - if (Ptrs[i]) SerializeTrait::Emit(*this,Ptrs[i]); + if (Ptrs[i]) SerializeTrait::Emit(*this,*Ptrs[i]); } void FlushRecord() { if (inRecord()) EmitRecord(); } -- 2.34.1