diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-11 00:28:38 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-11 00:28:38 +0000 |
commit | 253e9b2990b090162e389475c4ef419ff7e2c5d1 (patch) | |
tree | 97d5c4fdce7a10e11df70c0e5fbb29b30fbcf219 /lib | |
parent | 2b9024c8777fd6b1dbfcef8a208ea56880a2f5ee (diff) | |
download | external_llvm-253e9b2990b090162e389475c4ef419ff7e2c5d1.zip external_llvm-253e9b2990b090162e389475c4ef419ff7e2c5d1.tar.gz external_llvm-253e9b2990b090162e389475c4ef419ff7e2c5d1.tar.bz2 |
llvm-gcc/clang don't (won't?) need this hack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86ISelDAGToDAG.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp index 2608365..6a3577a 100644 --- a/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -16,7 +16,8 @@ // // FIXME: This is a huge hack, to work around ridiculously awful compile times // on this file with gcc-4.2 on Darwin, in Release mode. -#if defined(__APPLE__) && defined(__OPTIMIZE__) && !defined(NDEBUG) +#if (!defined(__llvm__) && defined(__APPLE__) && \ + defined(__OPTIMIZE__) && !defined(NDEBUG)) #define NDEBUG #endif |