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:
parent
807b71d433
commit
b4aed82f4c
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue