[llvm-commits] [llvm] r86769 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Daniel Dunbar
daniel at zuster.org
Tue Nov 10 16:28:38 PST 2009
Author: ddunbar
Date: Tue Nov 10 18:28:38 2009
New Revision: 86769
URL: http://llvm.org/viewvc/llvm-project?rev=86769&view=rev
Log:
llvm-gcc/clang don't (won't?) need this hack.
Modified:
llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp?rev=86769&r1=86768&r2=86769&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Tue Nov 10 18:28:38 2009
@@ -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
More information about the llvm-commits
mailing list