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:
David Nadlinger
2013-06-12 11:40:30 +02:00
parent 28f39cbdad
commit f2f3c751b3
13 changed files with 52 additions and 52 deletions

View File

@@ -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();