1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 15:46:05 +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

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