1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Fixed invalid assert

This commit is contained in:
Brian Fiete 2020-04-14 11:37:44 -07:00
parent 807b71d433
commit b4aed82f4c

View file

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