1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed CeMachine::GetFunction with __INLINE methods

This commit is contained in:
Brian Fiete 2024-03-16 18:34:21 -04:00
parent 887cbc3fa3
commit fe2244fb4b
3 changed files with 39 additions and 3 deletions

View file

@ -6268,7 +6268,7 @@ void BfModule::DoTypeInstanceMethodProcessing(BfTypeInstance* typeInstance)
if (!typeInstance->IsInterface())
{
auto interfaceTypeDef = checkInterface->mTypeDef;
BF_ASSERT(interfaceTypeDef->mMethods.size() == checkInterface->mMethodInstanceGroups.size());
BF_ASSERT((interfaceTypeDef->mMethods.size() == checkInterface->mMethodInstanceGroups.size()) || (checkInterface->IsDeleting()));
// Reserve empty entries
for (int methodIdx = 0; methodIdx < (int)interfaceTypeDef->mMethods.size(); methodIdx++)