summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SlotIndexes.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-01-05 01:25:50 +0000
committerDavid Greene <greened@obbligato.org>2010-01-05 01:25:50 +0000
commit87b0efc86dcc1dac30fcd6b4d1c51110f707a28c (patch)
tree9bc9d973c2945437b26c12df6f87b897d5dcee60 /lib/CodeGen/SlotIndexes.cpp
parent4175f58d6d4d7666d1dba4467fed4704aa0342cd (diff)
downloadllvm-87b0efc86dcc1dac30fcd6b4d1c51110f707a28c.tar.gz
llvm-87b0efc86dcc1dac30fcd6b4d1c51110f707a28c.tar.bz2
llvm-87b0efc86dcc1dac30fcd6b4d1c51110f707a28c.tar.xz
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SlotIndexes.cpp')
-rw-r--r--lib/CodeGen/SlotIndexes.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/SlotIndexes.cpp b/lib/CodeGen/SlotIndexes.cpp
index 782af124a6..b8f529b893 100644
--- a/lib/CodeGen/SlotIndexes.cpp
+++ b/lib/CodeGen/SlotIndexes.cpp
@@ -192,18 +192,18 @@ void SlotIndexes::renumberIndexes() {
void SlotIndexes::dump() const {
for (const IndexListEntry *itr = front(); itr != getTail();
itr = itr->getNext()) {
- errs() << itr->getIndex() << " ";
+ dbgs() << itr->getIndex() << " ";
if (itr->getInstr() != 0) {
- errs() << *itr->getInstr();
+ dbgs() << *itr->getInstr();
} else {
- errs() << "\n";
+ dbgs() << "\n";
}
}
for (MBB2IdxMap::const_iterator itr = mbb2IdxMap.begin();
itr != mbb2IdxMap.end(); ++itr) {
- errs() << "MBB " << itr->first->getNumber() << " (" << itr->first << ") - ["
+ dbgs() << "MBB " << itr->first->getNumber() << " (" << itr->first << ") - ["
<< itr->second.first << ", " << itr->second.second << "]\n";
}
}
@@ -217,7 +217,7 @@ void SlotIndex::print(raw_ostream &os) const {
// Dump a SlotIndex to stderr.
void SlotIndex::dump() const {
- print(errs());
- errs() << "\n";
+ print(dbgs());
+ dbgs() << "\n";
}