mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-13 03:13: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:
@@ -280,7 +280,7 @@ static llvm::DIType dwarfCompositeType(Type* type)
|
||||
if (sd->sizeok == 0)
|
||||
return llvm::DICompositeType(NULL);
|
||||
|
||||
IrStruct* ir = sd->ir.irStruct;
|
||||
IrAggr* ir = sd->ir.irStruct;
|
||||
assert(ir);
|
||||
if (static_cast<llvm::MDNode*>(ir->diCompositeType) != 0)
|
||||
return ir->diCompositeType;
|
||||
|
||||
Reference in New Issue
Block a user