diff --git a/IDEHelper/Compiler/BfContext.cpp b/IDEHelper/Compiler/BfContext.cpp index bbfa4f9a..5a54851a 100644 --- a/IDEHelper/Compiler/BfContext.cpp +++ b/IDEHelper/Compiler/BfContext.cpp @@ -1688,6 +1688,12 @@ void BfContext::PopulateHotTypeDataVTable(BfTypeInstance* typeInstance) methodInstance = parentVirtualMethod; }*/ + if ((methodInstance->mMethodInfoEx == NULL) || (methodInstance->mMethodInfoEx->mMangledName.IsEmpty())) + { + // This should not occur, we should have build these mangled names already + EnsureHotMangledVirtualMethodName(methodInstance); + } + BF_ASSERT(!methodInstance->mMethodInfoEx->mMangledName.IsEmpty()); auto& entry = hotTypeData->mVTableEntries[vIdx];