1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Fixed splat aggregate issue on array initialization

This commit is contained in:
Brian Fiete 2020-12-27 11:43:50 -08:00
parent ba9ce75a0b
commit 2896b84f7f

View file

@ -12903,7 +12903,7 @@ void BfExprEvaluator::CreateObject(BfObjectCreateExpression* objCreateExpr, BfAs
continue;
if (!resultType->IsValuelessType())
{
storeValue = mModule->LoadValue(storeValue);
storeValue = mModule->LoadOrAggregateValue(storeValue);
mModule->mBfIRBuilder->CreateStore(storeValue.mValue, elemAddr);
}
}