summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/ABIInfo.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-05 01:01:30 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-05 01:01:30 +0000
commit497a85693e8d290c16bcdf5fb97b67bda206aa7d (patch)
tree7c3325e6eb34102abdf11d1867055448f8b23867 /lib/CodeGen/ABIInfo.h
parente45e57f8b846a3bdee1ecc9445a9bb28e4e9fbac (diff)
Initialize alignment field for ByVal ABIInfo correctly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ABIInfo.h')
-rw-r--r--lib/CodeGen/ABIInfo.h2
1 files changed, 1 insertions, 1 deletions
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) {}