Changes in directory llvm/include/llvm/Support:
Debug.h updated: 1.9 -> 1.10 --- Log message: #ifndef NDEBUG the "if (Stream) ..." stuff. --- Diffs of the changes: (+2 -0) Debug.h | 2 ++ 1 files changed, 2 insertions(+) Index: llvm/include/llvm/Support/Debug.h diff -u llvm/include/llvm/Support/Debug.h:1.9 llvm/include/llvm/Support/Debug.h:1.10 --- llvm/include/llvm/Support/Debug.h:1.9 Thu Nov 16 19:13:12 2006 +++ llvm/include/llvm/Support/Debug.h Thu Nov 16 19:43:48 2006 @@ -72,7 +72,9 @@ template <typename Ty> llvm_ostream& operator << (const Ty& Thing) { +#ifndef NDEBUG if (Stream) *Stream << Thing; +#endif return *this; } }; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits