From 497a85693e8d290c16bcdf5fb97b67bda206aa7d Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 5 Feb 2009 01:01:30 +0000 Subject: [PATCH] Initialize alignment field for ByVal ABIInfo correctly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63809 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/ABIInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {} -- 2.40.0