]> granicus.if.org Git - clang/commitdiff
Temporarily revert r151288:
authorChad Rosier <mcrosier@apple.com>
Sat, 25 Feb 2012 20:32:43 +0000 (20:32 +0000)
committerChad Rosier <mcrosier@apple.com>
Sat, 25 Feb 2012 20:32:43 +0000 (20:32 +0000)
ARM: enable the integrated assembler by default for Darwin.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151454 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.h

index 0fb213828ff9e6780637e0c0864b6d7caea5eb1b..98c226b0e134cecdbdcf19d6dd99ebe97f868ded 100644 (file)
@@ -329,8 +329,9 @@ public:
 #ifdef DISABLE_DEFAULT_INTEGRATED_ASSEMBLER
     return false;
 #else
-    // Default integrated assembler to on for Darwin.
-    return true;
+    // Default integrated assembler to on for x86.
+    return (getTriple().getArch() == llvm::Triple::x86 ||
+            getTriple().getArch() == llvm::Triple::x86_64);
 #endif
   }
   virtual bool IsStrictAliasingDefault() const {