aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Value.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-12-13 18:37:58 +0000
committerChris Lattner <sabre@nondot.org>2008-12-13 18:37:58 +0000
commit8072c7b5a9bf980cacff9dc4073e7311ab70d60a (patch)
tree2d4cb3e9df4f8c5183e909f6282947e595fce1a3 /lib/VMCore/Value.cpp
parentb7677be32687e3a0fbb80bde709c3abb3853e08c (diff)
downloadexternal_llvm-8072c7b5a9bf980cacff9dc4073e7311ab70d60a.zip
external_llvm-8072c7b5a9bf980cacff9dc4073e7311ab70d60a.tar.gz
external_llvm-8072c7b5a9bf980cacff9dc4073e7311ab70d60a.tar.bz2
These messages should always be emitted when NDEBUG is unset, not when
NDEBUG is unset and -debug is passed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Value.cpp')
-rw-r--r--lib/VMCore/Value.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp
index eedda51..8e2dad3 100644
--- a/lib/VMCore/Value.cpp
+++ b/lib/VMCore/Value.cpp
@@ -54,9 +54,9 @@ Value::~Value() {
// a <badref>
//
if (!use_empty()) {
- DOUT << "While deleting: " << *VTy << " %" << getNameStr() << "\n";
+ cerr << "While deleting: " << *VTy << " %" << getNameStr() << "\n";
for (use_iterator I = use_begin(), E = use_end(); I != E; ++I)
- DOUT << "Use still stuck around after Def is destroyed:"
+ cerr << "Use still stuck around after Def is destroyed:"
<< **I << "\n";
}
#endif