1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +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

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