summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit695bc778f82411a12271eae083e5600e591843e6 (patch)
treecd5f5083db49f04ab7cae23a01a7fed28995920d /llvm/lib/VMCore/Value.cpp
parente04b5bfd199eee38f33b705f8c0ea8a8136aef07 (diff)
downloadbcm5719-llvm-695bc778f82411a12271eae083e5600e591843e6.tar.gz
bcm5719-llvm-695bc778f82411a12271eae083e5600e591843e6.zip
These messages should always be emitted when NDEBUG is unset, not when
NDEBUG is unset and -debug is passed. llvm-svn: 60986
Diffstat (limited to 'llvm/lib/VMCore/Value.cpp')
-rw-r--r--llvm/lib/VMCore/Value.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index eedda51264e..8e2dad32417 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud