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

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