]> granicus.if.org Git - clang/commitdiff
Initialize alignment field for ByVal ABIInfo correctly.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 5 Feb 2009 01:01:30 +0000 (01:01 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 5 Feb 2009 01:01:30 +0000 (01:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63809 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/ABIInfo.h

index 651192391a5a9e73d950897bd4071f65a64e8b4d..b4bbcba741c260557b44958d2e159da46a20a0a6 100644 (file)
@@ -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) {}