X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTarget%2FTarget.cpp;h=ed544b73eaeda36d5bc33a9354daeca6e785f7a1;hp=933ac82ca1d87d4be6bbdf7aef8541c761e6947b;hb=777d2306b36816a53bc1ae1244c0dc7d998ae691;hpb=09560f805ef53e5876d025dbbf63a3244e15f8a6 diff --git a/lib/Target/Target.cpp b/lib/Target/Target.cpp index 933ac82ca1d..ed544b73eae 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) {