diff options
author | Anders Carlsson <andersca@mac.com> | 2009-07-18 21:26:44 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-07-18 21:26:44 +0000 |
commit | 243a68551ac9ec71bf341e062418e33eb4f286ff (patch) | |
tree | 7e95e7d421f3e3a452826c34595f916812aa7942 /lib/CodeGen/CGObjCMac.cpp | |
parent | 29445a0542d128cd7ee587ee52229670b9b54a12 (diff) |
Rename NextOffset to DataSize, which better matches the Itanium C++ ABI
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76339 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCMac.cpp')
-rw-r--r-- | lib/CodeGen/CGObjCMac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index 9b9cec661e..7252de6ec6 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -4319,7 +4319,7 @@ void CGObjCNonFragileABIMac::GetClassSizeInfo(const ObjCImplementationDecl *OID, CGM.getContext().getASTObjCImplementationLayout(OID); // InstanceSize is really instance end. - InstanceSize = llvm::RoundUpToAlignment(RL.getNextOffset(), 8) / 8; + InstanceSize = llvm::RoundUpToAlignment(RL.getDataSize(), 8) / 8; // If there are no fields, the start is the same as the end. if (!RL.getFieldCount()) |