mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-22 09:38:01 +02:00
Fixed const tuple generation with manual alignment fields
This commit is contained in:
parent
5bf50d658c
commit
db449ed5a5
1 changed files with 4 additions and 0 deletions
|
@ -21485,6 +21485,10 @@ void BfExprEvaluator::Visit(BfTupleExpression* tupleExpr)
|
|||
BfFieldInstance* fieldInstance = &tupleType->mFieldInstances[fieldIdx];
|
||||
if (fieldInstance->mDataIdx < 0)
|
||||
continue;
|
||||
|
||||
while (fieldInstance->mDataIdx >= irValues.size())
|
||||
irValues.Add(BfIRValue());
|
||||
|
||||
irValues[fieldInstance->mDataIdx] = typedValues[fieldIdx].mValue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue