diff options
author | Duncan Sands <baldrick@free.fr> | 2009-05-09 07:06:46 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-05-09 07:06:46 +0000 |
commit | ec4f97dd91023f63e05e94a333cdd2d4c57efedf (patch) | |
tree | 0e48f8284a5e10d4f43e51986e586740ab6eb029 /lib/Target/PIC16/PIC16TargetAsmInfo.cpp | |
parent | bf5d4b2759f97a7b2a32c1ef22fbf8e3b46bc28e (diff) | |
download | external_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/PIC16/PIC16TargetAsmInfo.cpp')
-rw-r--r-- | lib/Target/PIC16/PIC16TargetAsmInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PIC16/PIC16TargetAsmInfo.cpp b/lib/Target/PIC16/PIC16TargetAsmInfo.cpp index 8be9a33..8c1daac 100644 --- a/lib/Target/PIC16/PIC16TargetAsmInfo.cpp +++ b/lib/Target/PIC16/PIC16TargetAsmInfo.cpp @@ -72,7 +72,7 @@ PIC16TargetAsmInfo::getBSSSectionForGlobal(const GlobalVariable *GV) const { // Find how much space this global needs. const TargetData *TD = TM.getTargetData(); const Type *Ty = C->getType(); - unsigned ValSize = TD->getTypePaddedSize(Ty); + unsigned ValSize = TD->getTypeAllocSize(Ty); // Go through all BSS Sections and assign this variable // to the first available section having enough space. @@ -118,7 +118,7 @@ PIC16TargetAsmInfo::getIDATASectionForGlobal(const GlobalVariable *GV) const { // Find how much space this global needs. const TargetData *TD = TM.getTargetData(); const Type *Ty = C->getType(); - unsigned ValSize = TD->getTypePaddedSize(Ty); + unsigned ValSize = TD->getTypeAllocSize(Ty); // Go through all IDATA Sections and assign this variable // to the first available section having enough space. |