Rename PaddedSize to AllocSize, in the hope that this
[oota-llvm.git] / lib / Target / Mips / MipsTargetAsmInfo.cpp
index 3eee3beef1257f4f4992ba94193a994d56876c9f..c197b0c2981cce105fffc91bb6eacbc0882cdaa8 100644 (file)
@@ -66,7 +66,7 @@ SectionKindForGlobal(const GlobalValue *GV) const {
 
   if (isa<GlobalVariable>(GV)) {
     const TargetData *TD = TM.getTargetData();
-    unsigned Size = TD->getTypePaddedSize(GV->getType()->getElementType());
+    unsigned Size = TD->getTypeAllocSize(GV->getType()->getElementType());
     unsigned Threshold = Subtarget->getSSectionThreshold();
 
     if (Size > 0 && Size <= Threshold) {