mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 16:10:26 +02:00
PopulateHotTypeDataVTable manged name fix
This commit is contained in:
parent
1334763c62
commit
887cbc3fa3
1 changed files with 6 additions and 0 deletions
|
@ -1688,6 +1688,12 @@ void BfContext::PopulateHotTypeDataVTable(BfTypeInstance* typeInstance)
|
||||||
methodInstance = parentVirtualMethod;
|
methodInstance = parentVirtualMethod;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
|
if ((methodInstance->mMethodInfoEx == NULL) || (methodInstance->mMethodInfoEx->mMangledName.IsEmpty()))
|
||||||
|
{
|
||||||
|
// This should not occur, we should have build these mangled names already
|
||||||
|
EnsureHotMangledVirtualMethodName(methodInstance);
|
||||||
|
}
|
||||||
|
|
||||||
BF_ASSERT(!methodInstance->mMethodInfoEx->mMangledName.IsEmpty());
|
BF_ASSERT(!methodInstance->mMethodInfoEx->mMangledName.IsEmpty());
|
||||||
|
|
||||||
auto& entry = hotTypeData->mVTableEntries[vIdx];
|
auto& entry = hotTypeData->mVTableEntries[vIdx];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue