aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-02-23 21:55:04 +0000
committerJim Grosbach <grosbach@apple.com>2012-02-23 21:55:04 +0000
commitd649586a10465b3e8f7e38ef0a428daf7464aa49 (patch)
tree9c410dda625a3754545f8c4b41aa1a81e45a2d84
parentca8e36eb637e232475ef31c3f22d5da907390917 (diff)
ARM: enable the integrated assembler by default for Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151288 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Driver/ToolChains.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h
index 98c226b0e1..0fb213828f 100644
--- a/lib/Driver/ToolChains.h
+++ b/lib/Driver/ToolChains.h
@@ -329,9 +329,8 @@ public:
#ifdef DISABLE_DEFAULT_INTEGRATED_ASSEMBLER
return false;
#else
- // Default integrated assembler to on for x86.
- return (getTriple().getArch() == llvm::Triple::x86 ||
- getTriple().getArch() == llvm::Triple::x86_64);
+ // Default integrated assembler to on for Darwin.
+ return true;
#endif
}
virtual bool IsStrictAliasingDefault() const {