summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-01-05 01:29:39 +0000
committerDavid Greene <greened@obbligato.org>2010-01-05 01:29:39 +0000
commit6abc01ebf9453e80dbc06ff26fc36cf54563cfe2 (patch)
treec03c8e549c32b11f5a6bd78df5061f04d13b9fd6 /llvm/lib
parent24328b99ab2fadfff645dc29fddee43a7829311d (diff)
downloadbcm5719-llvm-6abc01ebf9453e80dbc06ff26fc36cf54563cfe2.tar.gz
bcm5719-llvm-6abc01ebf9453e80dbc06ff26fc36cf54563cfe2.zip
Change errs() to dbgs().
llvm-svn: 92656
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/TypesContext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/TypesContext.h b/llvm/lib/VMCore/TypesContext.h
index e7950bd211f..93a801b9f66 100644
--- a/llvm/lib/VMCore/TypesContext.h
+++ b/llvm/lib/VMCore/TypesContext.h
@@ -302,7 +302,7 @@ public:
void RefineAbstractType(TypeClass *Ty, const DerivedType *OldType,
const Type *NewType) {
#ifdef DEBUG_MERGE_TYPES
- DEBUG(errs() << "RefineAbstractType(" << (void*)OldType << "[" << *OldType
+ DEBUG(dbgs() << "RefineAbstractType(" << (void*)OldType << "[" << *OldType
<< "], " << (void*)NewType << " [" << *NewType << "])\n");
#endif
@@ -408,11 +408,11 @@ public:
void print(const char *Arg) const {
#ifdef DEBUG_MERGE_TYPES
- DEBUG(errs() << "TypeMap<>::" << Arg << " table contents:\n");
+ DEBUG(dbgs() << "TypeMap<>::" << Arg << " table contents:\n");
unsigned i = 0;
for (typename std::map<ValType, PATypeHolder>::const_iterator I
= Map.begin(), E = Map.end(); I != E; ++I)
- DEBUG(errs() << " " << (++i) << ". " << (void*)I->second.get() << " "
+ DEBUG(dbgs() << " " << (++i) << ". " << (void*)I->second.get() << " "
<< *I->second.get() << "\n");
#endif
}
OpenPOWER on IntegriCloud