mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02:21 +02:00
Fixed invalid assert
This commit is contained in:
parent
807b71d433
commit
b4aed82f4c
1 changed files with 5 additions and 2 deletions
|
@ -1212,9 +1212,12 @@ void BfContext::PopulateHotTypeDataVTable(BfTypeInstance* typeInstance)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (typeInstance->IsIncomplete())
|
if (typeInstance->IsIncomplete())
|
||||||
|
{
|
||||||
|
if (mCompiler->mHotState->mCommittedHotCompileIdx > 0)
|
||||||
{
|
{
|
||||||
// Should already be populated
|
// Should already be populated
|
||||||
BF_ASSERT(hotTypeData->mVTableOrigLength != -1);
|
BF_ASSERT(hotTypeData->mVTableOrigLength != -1);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue