mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Removed sized array initialization from tuples
This commit is contained in:
parent
bb34a468bb
commit
5bed292e87
7 changed files with 24 additions and 40 deletions
|
@ -2415,7 +2415,7 @@ void BfIRBuilder::CreateDbgTypeDefinition(BfType* type)
|
|||
bool useIntConstant = false;
|
||||
|
||||
bool wasMadeAddr = false;
|
||||
|
||||
|
||||
String fieldName = fieldDef->mName;
|
||||
BfIRValue intConstant;
|
||||
if (constant != NULL)
|
||||
|
@ -2424,7 +2424,8 @@ void BfIRBuilder::CreateDbgTypeDefinition(BfType* type)
|
|||
if (isOptimized)
|
||||
continue;
|
||||
|
||||
if (constant->mConstType == BfConstType_Array)
|
||||
if ((constant->mConstType == BfConstType_Array) ||
|
||||
(constant->mConstType == BfConstType_AggZero))
|
||||
{
|
||||
staticValue = ConstToMemory(staticValue);
|
||||
wasMadeAddr = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue