From 8045343ca2f54c27f03741573e0977d883c49d95 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. llvm-svn: 63809 --- clang/lib/CodeGen/ABIInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/CodeGen/ABIInfo.h b/clang/lib/CodeGen/ABIInfo.h index 651192391a5a..b4bbcba741c2 100644 --- a/clang/lib/CodeGen/ABIInfo.h +++ b/clang/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) {} -- GitLab