[cfe-commits] r63116 - /cfe/trunk/lib/AST/ASTContext.cpp

Fariborz Jahanian fjahanian at apple.com
Tue Jan 27 10:55:01 PST 2009


Author: fjahanian
Date: Tue Jan 27 12:55:00 2009
New Revision: 63116

URL: http://llvm.org/viewvc/llvm-project?rev=63116&view=rev
Log:
Fixed a typo in getPreferredTypeAlign method.

Modified:
    cfe/trunk/lib/AST/ASTContext.cpp

Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=63116&r1=63115&r2=63116&view=diff

==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Tue Jan 27 12:55:00 2009
@@ -463,7 +463,7 @@
   // Doubles should be naturally aligned if possible.
   if (const BuiltinType *BT = dyn_cast<BuiltinType>(getCanonicalType(T)))
     if (BT->getKind() == BuiltinType::Double)
-      return std::max(ABIAlign, 8U);
+      return std::max(ABIAlign, 64U);
   
   return ABIAlign;
 }





More information about the cfe-commits mailing list