]> granicus.if.org Git - clang/commitdiff
Initialize default double width and alignment
authorNate Begeman <natebegeman@mac.com>
Fri, 18 Apr 2008 05:49:49 +0000 (05:49 +0000)
committerNate Begeman <natebegeman@mac.com>
Fri, 18 Apr 2008 05:49:49 +0000 (05:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49899 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/TargetInfo.cpp

index 16a745cdc6bd28005a7805d2c6ba2cd9486dabf8..145f458886a0fcb957e34fc57a277af1605cad29 100644 (file)
@@ -24,6 +24,8 @@ TargetInfo::TargetInfo(const std::string &T) : Triple(T) {
   // Set defaults.  These should be overridden by concrete targets as needed.
   CharIsSigned = true;
   WCharWidth = WCharAlign = 32;
+       DoubleWidth = 64;
+       DoubleAlign = 32;
   FloatFormat = &llvm::APFloat::IEEEsingle;
   DoubleFormat = &llvm::APFloat::IEEEdouble;
   LongDoubleFormat = &llvm::APFloat::IEEEdouble;