These messages should always be emitted when NDEBUG is unset, not when

NDEBUG is unset and -debug is passed.

llvm-svn: 60986
This commit is contained in:
Chris Lattner 2008-12-13 18:37:58 +00:00
parent e04b5bfd19
commit 695bc778f8
1 changed files with 2 additions and 2 deletions

View File

@ -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