summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachOWriter.h
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
commitaf9eaa830a9e866f61b6e59b448712de52dced25 (patch)
treea34b5c08eae117510ce50dc9f05b6f3e9b6d8e3e /llvm/lib/CodeGen/MachOWriter.h
parent6631d7c4be2041b15c5f187d1f144f2de7182cb7 (diff)
downloadbcm5719-llvm-af9eaa830a9e866f61b6e59b448712de52dced25.tar.gz
bcm5719-llvm-af9eaa830a9e866f61b6e59b448712de52dced25.zip
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. llvm-svn: 71349
Diffstat (limited to 'llvm/lib/CodeGen/MachOWriter.h')
-rw-r--r--llvm/lib/CodeGen/MachOWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachOWriter.h b/llvm/lib/CodeGen/MachOWriter.h
index aacaf2c9e03..20a4084638e 100644
--- a/llvm/lib/CodeGen/MachOWriter.h
+++ b/llvm/lib/CodeGen/MachOWriter.h
@@ -468,7 +468,7 @@ namespace llvm {
const Type *Ty = C->getType();
if (Ty->isPrimitiveType() || Ty->isInteger()) {
- unsigned Size = TM.getTargetData()->getTypePaddedSize(Ty);
+ unsigned Size = TM.getTargetData()->getTypeAllocSize(Ty);
switch(Size) {
default: break; // Fall through to __TEXT,__const
case 4:
OpenPOWER on IntegriCloud