mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
HotTypeData null check in CheckHotMethod
This commit is contained in:
parent
61d4eb8116
commit
31115d8385
1 changed files with 3 additions and 1 deletions
|
@ -23143,6 +23143,8 @@ void BfModule::CheckHotMethod(BfMethodInstance* methodInstance, const StringImpl
|
|||
if ((mCompiler->mOptions.mAllowHotSwapping) && (!methodInstance->mIsUnspecialized))
|
||||
{
|
||||
auto srcTypeInst = methodInstance->GetOwner();
|
||||
if (srcTypeInst->mHotTypeData == NULL)
|
||||
return;
|
||||
|
||||
StringT<128> mangledName = inMangledName;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue