From: Daniel Dunbar Date: Thu, 5 Feb 2009 01:01:30 +0000 (+0000) Subject: Initialize alignment field for ByVal ABIInfo correctly. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=497a85693e8d290c16bcdf5fb97b67bda206aa7d;p=clang Initialize alignment field for ByVal ABIInfo correctly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63809 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/ABIInfo.h b/lib/CodeGen/ABIInfo.h index 651192391a..b4bbcba741 100644 --- a/lib/CodeGen/ABIInfo.h +++ b/lib/CodeGen/ABIInfo.h @@ -71,7 +71,7 @@ namespace clang { ABIArgInfo(Kind K, const llvm::Type *TD=0, unsigned UI=0) : TheKind(K), TypeData(TD), - UIntData(0) {} + UIntData(UI) {} public: ABIArgInfo() : TheKind(Direct), TypeData(0), UIntData(0) {}