mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 19:03:13 +01:00
Renamed IrStruct to IrAggr, as it is also used for classes.
The class-specific parts should probably be factored out.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include "gen/structs.h"
|
||||
#include "gen/tollvm.h"
|
||||
#include "gen/utils.h"
|
||||
#include "ir/irstruct.h"
|
||||
#include "ir/iraggr.h"
|
||||
#include "ir/irtypestruct.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/Support/ManagedStatic.h"
|
||||
@@ -45,8 +45,8 @@ void DtoResolveStruct(StructDeclaration* sd)
|
||||
if (sd->sizeok != 1)
|
||||
return;
|
||||
|
||||
// create the IrStruct
|
||||
IrStruct* irstruct = new IrStruct(sd);
|
||||
// create the IrAggr
|
||||
IrAggr* irstruct = new IrAggr(sd);
|
||||
sd->ir.irStruct = irstruct;
|
||||
|
||||
// Set up our field metadata.
|
||||
|
||||
Reference in New Issue
Block a user