Complete IrStruct->IrAggr rename.

This commit is contained in:
David Nadlinger
2013-06-17 02:41:37 +02:00
parent b15588ed15
commit 1215ffacd3
11 changed files with 36 additions and 36 deletions

View File

@@ -45,8 +45,8 @@ void DtoResolveStruct(StructDeclaration* sd)
return;
// create the IrAggr
IrAggr* irstruct = new IrAggr(sd);
sd->ir.irStruct = irstruct;
IrAggr* iraggr = new IrAggr(sd);
sd->ir.irAggr = iraggr;
// Set up our field metadata.
for (ArrayIter<VarDeclaration> it(sd->fields); !it.done(); it.next())
@@ -61,10 +61,10 @@ void DtoResolveStruct(StructDeclaration* sd)
if (emitGlobalData)
{
// emit the initZ symbol
LLGlobalVariable* initZ = irstruct->getInitSymbol();
LLGlobalVariable* initZ = iraggr->getInitSymbol();
// set initZ initializer
initZ->setInitializer(irstruct->getDefaultInit());
initZ->setInitializer(iraggr->getDefaultInit());
}
// emit members