mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 03:43: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:
@@ -105,7 +105,7 @@ llvm::Instruction* IRState::topallocapoint()
|
||||
return functions.back()->allocapoint;
|
||||
}
|
||||
|
||||
IrStruct* IRState::topstruct()
|
||||
IrAggr* IRState::topstruct()
|
||||
{
|
||||
assert(!structs.empty() && "Struct vector is empty!");
|
||||
return structs.back();
|
||||
|
||||
Reference in New Issue
Block a user