Fix issue 726: Wrong alignment for struct fields on x86_64/amd64

This commit is contained in:
Alexey Prokhin 2014-10-11 16:09:25 +04:00
parent 0b180be099
commit 9314fc1c1c
8 changed files with 49 additions and 16 deletions

View file

@ -401,6 +401,11 @@ llvm::GlobalVariable * IrAggr::getInterfaceVtbl(BaseClass * b, bool new_instance
return GV;
}
bool IrAggr::isPacked() const
{
return static_cast<IrTypeAggr*>(type->ctype)->packed;
}
//////////////////////////////////////////////////////////////////////////////
LLConstant * IrAggr::getClassInfoInterfaces()