summaryrefslogtreecommitdiffstats
path: root/lib/Target/Target.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-01-12 20:38:59 +0000
committerDuncan Sands <baldrick@free.fr>2009-01-12 20:38:59 +0000
commitceb4d1aecb9deffe59b3dcdc9a783ffde8477be9 (patch)
treeb81070777ea57a00082bbc345c47a9499d77d24d /lib/Target/Target.cpp
parentccca7fe6a30ec536de3823c0867806c1f86b2212 (diff)
downloadexternal_llvm-ceb4d1aecb9deffe59b3dcdc9a783ffde8477be9.zip
external_llvm-ceb4d1aecb9deffe59b3dcdc9a783ffde8477be9.tar.gz
external_llvm-ceb4d1aecb9deffe59b3dcdc9a783ffde8477be9.tar.bz2
Rename getABITypeSize to getTypePaddedSize, as
suggested by Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Target.cpp')
-rw-r--r--lib/Target/Target.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Target.cpp b/lib/Target/Target.cpp
index 35cf648..933ac82 100644
--- a/lib/Target/Target.cpp
+++ b/lib/Target/Target.cpp
@@ -53,7 +53,7 @@ unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
}
unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
- return unwrap(TD)->getABITypeSize(unwrap(Ty));
+ return unwrap(TD)->getTypePaddedSize(unwrap(Ty));
}
unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {