aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MipsTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-05-09 07:06:46 +0000
committerDuncan Sands <baldrick@free.fr>2009-05-09 07:06:46 +0000
commitec4f97dd91023f63e05e94a333cdd2d4c57efedf (patch)
tree0e48f8284a5e10d4f43e51986e586740ab6eb029 /lib/Target/Mips/MipsTargetAsmInfo.cpp
parentbf5d4b2759f97a7b2a32c1ef22fbf8e3b46bc28e (diff)
downloadexternal_llvm-ec4f97dd91023f63e05e94a333cdd2d4c57efedf.zip
external_llvm-ec4f97dd91023f63e05e94a333cdd2d4c57efedf.tar.gz
external_llvm-ec4f97dd91023f63e05e94a333cdd2d4c57efedf.tar.bz2
Rename PaddedSize to AllocSize, in the hope that this
will make it more obvious what it represents, and stop it being confused with the StoreSize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsTargetAsmInfo.cpp')
-rw-r--r--lib/Target/Mips/MipsTargetAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsTargetAsmInfo.cpp b/lib/Target/Mips/MipsTargetAsmInfo.cpp
index 3eee3be..c197b0c 100644
--- a/lib/Target/Mips/MipsTargetAsmInfo.cpp
+++ b/lib/Target/Mips/MipsTargetAsmInfo.cpp
@@ -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) {