1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-23 01:58:00 +02:00

Removed mNoSplat for GCMarkMembers, relying on CallingConvention

This commit is contained in:
Brian Fiete 2020-05-06 16:20:17 -07:00
parent b62ac83155
commit bd7a4b392f
5 changed files with 16 additions and 14 deletions

View file

@ -4955,7 +4955,7 @@ void BfExprEvaluator::PushThis(BfAstNode* targetSrc, BfTypedValue argVal, BfMeth
if (argVal.mType->IsValuelessType())
return;
if ((!methodInstance->AllowsThisSplatting()) && (methodDef->mIsMutating))
if ((!methodInstance->AllowsThisSplatting()) || (methodDef->mIsMutating))
{
argVal = mModule->MakeAddressable(argVal);
irArgs.push_back(argVal.mValue);