From 291675b34d3c304bcfe271af90d1624c06c0c1b7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 12 Aug 2003 20:46:50 +0000 Subject: Reenable optimized build llvm-svn: 7788 --- llvm/lib/Support/Debug.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Support/Debug.cpp') diff --git a/llvm/lib/Support/Debug.cpp b/llvm/lib/Support/Debug.cpp index 57ed27a..f87cddf 100644 --- a/llvm/lib/Support/Debug.cpp +++ b/llvm/lib/Support/Debug.cpp @@ -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 } -- cgit v1.1