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

Fixed inlining issues

This commit is contained in:
Brian Fiete 2020-12-27 10:56:14 -08:00
parent 6c049988b3
commit ba9ce75a0b
6 changed files with 66 additions and 26 deletions

View file

@ -552,7 +552,7 @@ BfMethodInstance::~BfMethodInstance()
}
if (mHasMethodRefType)
{
{
auto module = GetOwner()->mModule;
if (!module->mContext->mDeleting)
{
@ -593,6 +593,7 @@ void BfMethodInstance::CopyFrom(BfMethodInstance* methodInstance)
*mMethodInfoEx->mClosureInstanceInfo = *methodInstance->mMethodInfoEx->mClosureInstanceInfo;
}
}
mHasMethodRefType = false;
mHasBeenProcessed = false;
mIRFunction = BfIRValue();
mMethodProcessRequest = NULL;