Reenable optimized build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7788 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-12 20:46:50 +00:00
parent 6007cb6c4d
commit 33fbad7024
2 changed files with 8 additions and 0 deletions

View File

@ -49,5 +49,9 @@ namespace {
// with the -debug-only=X option.
//
bool isCurrentDebugType(const char *DebugType) {
#ifndef NDEBUG
return CurrentDebugType.empty() || DebugType == CurrentDebugType;
#else
return false;
#endif
}

View File

@ -49,5 +49,9 @@ namespace {
// with the -debug-only=X option.
//
bool isCurrentDebugType(const char *DebugType) {
#ifndef NDEBUG
return CurrentDebugType.empty() || DebugType == CurrentDebugType;
#else
return false;
#endif
}