From ec4f97dd91023f63e05e94a333cdd2d4c57efedf Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Sat, 9 May 2009 07:06:46 +0000 Subject: 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 --- lib/Target/Target.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/Target.cpp') diff --git a/lib/Target/Target.cpp b/lib/Target/Target.cpp index 933ac82ca1..ed544b73ea 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)->getTypePaddedSize(unwrap(Ty)); + return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); } unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { -- cgit v1.2.3