mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
Fixed bug where default SerializeTrait<>::Materialize would not return the materialized object pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43413 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
318d3ae397
commit
d9c8822fb3
@ -38,7 +38,7 @@ struct SerializeTrait {
|
||||
static inline void Emit(Serializer& S, const T& X) { X.Emit(S); }
|
||||
static inline void Read(Deserializer& D, T& X) { X.Read(D); }
|
||||
static inline T ReadVal(Deserializer& D) { T::ReadVal(D); }
|
||||
static inline T* Materialize(Deserializer& D) { T::Materialize(D); }
|
||||
static inline T* Materialize(Deserializer& D) { return T::Materialize(D); }
|
||||
};
|
||||
|
||||
#define SERIALIZE_INT_TRAIT(TYPE)\
|
||||
|
Loading…
Reference in New Issue
Block a user