1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

HotTypeData null check in CheckHotMethod

This commit is contained in:
Brian Fiete 2022-07-06 06:24:14 -07:00
parent 61d4eb8116
commit 31115d8385

View file

@ -23141,8 +23141,10 @@ void BfModule::CheckHotMethod(BfMethodInstance* methodInstance, const StringImpl
return;
if ((mCompiler->mOptions.mAllowHotSwapping) && (!methodInstance->mIsUnspecialized))
{
{
auto srcTypeInst = methodInstance->GetOwner();
if (srcTypeInst->mHotTypeData == NULL)
return;
StringT<128> mangledName = inMangledName;