mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Allow mVTableOrigLength==-1 in PopulateHotTypeDataVTable
This commit is contained in:
parent
5fd0e6d0c8
commit
90d1891cf1
1 changed files with 1 additions and 8 deletions
|
@ -1427,15 +1427,8 @@ void BfContext::PopulateHotTypeDataVTable(BfTypeInstance* typeInstance)
|
|||
if (hotTypeData == NULL)
|
||||
return;
|
||||
|
||||
if (typeInstance->IsIncomplete())
|
||||
{
|
||||
if (mCompiler->mHotState->mCommittedHotCompileIdx > 0)
|
||||
{
|
||||
// Should already be populated
|
||||
BF_ASSERT(hotTypeData->mVTableOrigLength != -1);
|
||||
}
|
||||
if (typeInstance->IsIncomplete())
|
||||
return;
|
||||
}
|
||||
|
||||
if (hotTypeData->mVTableOrigLength == -1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue