Fixed a typo in getPreferredTypeAlign method.

llvm-svn: 63116
This commit is contained in:
Fariborz Jahanian 2009-01-27 18:55:00 +00:00
parent 7687a998a4
commit 7ec8851c89
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ unsigned ASTContext::getPreferredTypeAlign(const Type *T) {
// Doubles should be naturally aligned if possible. // Doubles should be naturally aligned if possible.
if (const BuiltinType *BT = dyn_cast<BuiltinType>(getCanonicalType(T))) if (const BuiltinType *BT = dyn_cast<BuiltinType>(getCanonicalType(T)))
if (BT->getKind() == BuiltinType::Double) if (BT->getKind() == BuiltinType::Double)
return std::max(ABIAlign, 8U); return std::max(ABIAlign, 64U);
return ABIAlign; return ABIAlign;
} }