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 6511923..b4bbcba 100644
--- a/lib/CodeGen/ABIInfo.h
+++ b/lib/CodeGen/ABIInfo.h
@@ -71,7 +71,7 @@
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) {}