mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixes to raw array delete marking
This commit is contained in:
parent
f3cef1456a
commit
0b47f755d8
3 changed files with 5 additions and 2 deletions
|
@ -9108,7 +9108,7 @@ BfIRValue BfModule::AllocFromType(BfType* type, const BfAllocTarget& allocTarget
|
|||
for (int i = 1; i < deferredCall->mModuleMethodInstance.mMethodInstance->GetParamCount(); i++)
|
||||
{
|
||||
auto scopedArg = deferredCall->mScopeArgs[i];
|
||||
if (!scopedArg.IsConst())
|
||||
if (scopedArg != deferredCall->mOrigScopeArgs[i])
|
||||
mBfIRBuilder->CreateStore(GetDefaultValue(deferredCall->mModuleMethodInstance.mMethodInstance->GetParamType(i)), deferredCall->mScopeArgs[i]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue