diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-24 10:05:20 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-24 10:05:20 +0000 |
commit | f20e5a748a28c24941a9f9a3605f1e9cf3e91c69 (patch) | |
tree | 0cb5e1ddf3413a1bba329020817c4931963efb18 /lib/VMCore/Value.cpp | |
parent | c6ebd38219ab19934697d8d416095a5db6a6e181 (diff) | |
download | external_llvm-f20e5a748a28c24941a9f9a3605f1e9cf3e91c69.zip external_llvm-f20e5a748a28c24941a9f9a3605f1e9cf3e91c69.tar.gz external_llvm-f20e5a748a28c24941a9f9a3605f1e9cf3e91c69.tar.bz2 |
Move more to raw_ostream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Value.cpp')
-rw-r--r-- | lib/VMCore/Value.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index a788652..71dec84 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -68,9 +68,9 @@ Value::~Value() { // a <badref> // if (!use_empty()) { - cerr << "While deleting: " << *VTy << " %" << getNameStr() << "\n"; + errs() << "While deleting: " << *VTy << " %" << getNameStr() << "\n"; for (use_iterator I = use_begin(), E = use_end(); I != E; ++I) - cerr << "Use still stuck around after Def is destroyed:" + errs() << "Use still stuck around after Def is destroyed:" << **I << "\n"; } #endif @@ -509,8 +509,8 @@ void ValueHandleBase::ValueIsDeleted(Value *V) { switch (ThisNode->getKind()) { case Assert: #ifndef NDEBUG // Only in -g mode... - cerr << "While deleting: " << *V->getType() << " %" << V->getNameStr() - << "\n"; + errs() << "While deleting: " << *V->getType() << " %" << V->getNameStr() + << "\n"; #endif llvm_unreachable("An asserting value handle still pointed to this" " value!"); |