[cfe-commits] r151454 - /cfe/trunk/lib/Driver/ToolChains.h
Chad Rosier
mcrosier at apple.com
Sat Feb 25 12:32:43 PST 2012
Author: mcrosier
Date: Sat Feb 25 14:32:43 2012
New Revision: 151454
URL: http://llvm.org/viewvc/llvm-project?rev=151454&view=rev
Log:
Temporarily revert r151288:
ARM: enable the integrated assembler by default for Darwin.
Modified:
cfe/trunk/lib/Driver/ToolChains.h
Modified: cfe/trunk/lib/Driver/ToolChains.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.h?rev=151454&r1=151453&r2=151454&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.h (original)
+++ cfe/trunk/lib/Driver/ToolChains.h Sat Feb 25 14:32:43 2012
@@ -329,8 +329,9 @@
#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 {
More information about the cfe-commits
mailing list