forked from OSchip/llvm-project
remove a terrible hack that disabled assertions from this file because of build time
problems. rdar://7697850. llvm-svn: 97500
This commit is contained in:
parent
a419dbb5ea
commit
55ef1ebe52
|
@ -12,15 +12,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// Force NDEBUG on in any optimized build on Darwin.
|
||||
//
|
||||
// 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(__llvm__) && defined(__APPLE__) && \
|
||||
defined(__OPTIMIZE__) && !defined(NDEBUG))
|
||||
#define NDEBUG
|
||||
#endif
|
||||
|
||||
#define DEBUG_TYPE "x86-isel"
|
||||
#include "X86.h"
|
||||
#include "X86InstrBuilder.h"
|
||||
|
|
Loading…
Reference in New Issue