[cfe-commits] r63809 - /cfe/trunk/lib/CodeGen/ABIInfo.h

Daniel Dunbar daniel at zuster.org
Wed Feb 4 17:01:30 PST 2009


Author: ddunbar
Date: Wed Feb  4 19:01:30 2009
New Revision: 63809

URL: http://llvm.org/viewvc/llvm-project?rev=63809&view=rev
Log:
Initialize alignment field for ByVal ABIInfo correctly.

Modified:
    cfe/trunk/lib/CodeGen/ABIInfo.h

Modified: cfe/trunk/lib/CodeGen/ABIInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/ABIInfo.h?rev=63809&r1=63808&r2=63809&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/ABIInfo.h (original)
+++ cfe/trunk/lib/CodeGen/ABIInfo.h Wed Feb  4 19:01:30 2009
@@ -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) {}
 





More information about the cfe-commits mailing list