mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed splat aggregate issue on array initialization
This commit is contained in:
parent
ba9ce75a0b
commit
2896b84f7f
1 changed files with 2 additions and 2 deletions
|
@ -12902,8 +12902,8 @@ void BfExprEvaluator::CreateObject(BfObjectCreateExpression* objCreateExpr, BfAs
|
|||
if (!storeValue)
|
||||
continue;
|
||||
if (!resultType->IsValuelessType())
|
||||
{
|
||||
storeValue = mModule->LoadValue(storeValue);
|
||||
{
|
||||
storeValue = mModule->LoadOrAggregateValue(storeValue);
|
||||
mModule->mBfIRBuilder->CreateStore(storeValue.mValue, elemAddr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue