(http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-
20080602/063306.html).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51944
91177308-0d34-0410-b5e6-
96231b3b80d8
const FieldDecl *FD = RD.getMember(curField);
uint64_t offset = RL.getFieldOffset(curField);
const llvm::Type *Ty = CGT.ConvertTypeRecursive(FD->getType());
- uint64_t size = CGT.getTargetData().getTypeStoreSizeInBits(Ty);
+ uint64_t size = CGT.getTargetData().getABITypeSizeInBits(Ty);
if (FD->isBitField()) {
Expr *BitWidth = FD->getBitWidth();