Fix dynamic type info generation when producing framework

This commit is contained in:
Svyatoslav Scherbina
2018-04-02 11:10:56 +03:00
committed by SvyatoslavScherbina
parent 24250fd1ae
commit 80d026afa5
+1
View File
@@ -570,6 +570,7 @@ static const TypeInfo* createTypeInfo(
const KStdVector<MethodTableRecord>& methodTable
) {
TypeInfo* result = (TypeInfo*)konanAllocMemory(sizeof(TypeInfo) + vtable.size() * sizeof(void*));
result->typeInfo_ = result;
MakeGlobalHash(nullptr, 0, &result->name_);
result->instanceSize_ = superType->instanceSize_;