From 90d1891cf185bc826a8f9ae07a75aa12216452b0 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 28 Feb 2022 11:28:34 -0800 Subject: [PATCH] Allow mVTableOrigLength==-1 in PopulateHotTypeDataVTable --- IDEHelper/Compiler/BfContext.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/IDEHelper/Compiler/BfContext.cpp b/IDEHelper/Compiler/BfContext.cpp index 78cc6f51..a89c4d64 100644 --- a/IDEHelper/Compiler/BfContext.cpp +++ b/IDEHelper/Compiler/BfContext.cpp @@ -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) {