Rename getABITypeSize to getTypePaddedSize, as
[oota-llvm.git] / lib / Target / XCore / XCoreTargetAsmInfo.cpp
index e2fabe2a98650bc0781a42d90243884e1a4f53c2..847224c766d1b4f71853b8c4576637353d686671 100644 (file)
@@ -106,7 +106,7 @@ inline const Section*
 XCoreTargetAsmInfo::MergeableConstSection(const Type *Ty) const {
   const TargetData *TD = TM.getTargetData();
 
-  unsigned Size = TD->getABITypeSize(Ty);
+  unsigned Size = TD->getTypePaddedSize(Ty);
   if (Size == 4 || Size == 8 || Size == 16) {
     std::string Name =  ".cp.const" + utostr(Size);