From: Fariborz Jahanian Date: Tue, 27 Jan 2009 18:55:00 +0000 (+0000) Subject: Fixed a typo in getPreferredTypeAlign method. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32b978c1e2da0555df367897840330e514168aec;p=clang Fixed a typo in getPreferredTypeAlign method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63116 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index e7c08e2da3..28007659ec 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -463,7 +463,7 @@ unsigned ASTContext::getPreferredTypeAlign(const Type *T) { // Doubles should be naturally aligned if possible. if (const BuiltinType *BT = dyn_cast(getCanonicalType(T))) if (BT->getKind() == BuiltinType::Double) - return std::max(ABIAlign, 8U); + return std::max(ABIAlign, 64U); return ABIAlign; }