1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Allow mVTableOrigLength==-1 in PopulateHotTypeDataVTable

This commit is contained in:
Brian Fiete 2022-02-28 11:28:34 -08:00
parent 5fd0e6d0c8
commit 90d1891cf1

View file

@ -1427,15 +1427,8 @@ void BfContext::PopulateHotTypeDataVTable(BfTypeInstance* typeInstance)
if (hotTypeData == NULL)
return;
if (typeInstance->IsIncomplete())
{
if (mCompiler->mHotState->mCommittedHotCompileIdx > 0)
{
// Should already be populated
BF_ASSERT(hotTypeData->mVTableOrigLength != -1);
}
if (typeInstance->IsIncomplete())
return;
}
if (hotTypeData->mVTableOrigLength == -1)
{