mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 10:08:00 +02:00
Fixed crepr union size
This commit is contained in:
parent
682798fe7e
commit
868700b0dd
5 changed files with 15 additions and 35 deletions
|
@ -19286,8 +19286,6 @@ void BfExprEvaluator::InitializedSizedArray(BfSizedArrayType* arrayType, BfToken
|
|||
elementValue = mModule->GetDefaultTypedValue(checkArrayType->mElementType);
|
||||
|
||||
// For now, we can't properly create const-valued non-size-aligned composites
|
||||
// if (checkArrayType->mElementType->NeedsExplicitAlignment())
|
||||
// isAllConst = false;
|
||||
if (!elementValue.mValue.IsConst())
|
||||
isAllConst = false;
|
||||
if (elementValue.IsAddr())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue