Fix dynamic type info generation when producing framework
This commit is contained in:
committed by
SvyatoslavScherbina
parent
24250fd1ae
commit
80d026afa5
@@ -570,6 +570,7 @@ static const TypeInfo* createTypeInfo(
|
|||||||
const KStdVector<MethodTableRecord>& methodTable
|
const KStdVector<MethodTableRecord>& methodTable
|
||||||
) {
|
) {
|
||||||
TypeInfo* result = (TypeInfo*)konanAllocMemory(sizeof(TypeInfo) + vtable.size() * sizeof(void*));
|
TypeInfo* result = (TypeInfo*)konanAllocMemory(sizeof(TypeInfo) + vtable.size() * sizeof(void*));
|
||||||
|
result->typeInfo_ = result;
|
||||||
|
|
||||||
MakeGlobalHash(nullptr, 0, &result->name_);
|
MakeGlobalHash(nullptr, 0, &result->name_);
|
||||||
result->instanceSize_ = superType->instanceSize_;
|
result->instanceSize_ = superType->instanceSize_;
|
||||||
|
|||||||
Reference in New Issue
Block a user