Change errs() to dbgs().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene 2010-01-05 01:25:50 +00:00
parent 4175f58d6d
commit 87b0efc86d

View File

@ -192,18 +192,18 @@ void SlotIndexes::renumberIndexes() {
void SlotIndexes::dump() const { void SlotIndexes::dump() const {
for (const IndexListEntry *itr = front(); itr != getTail(); for (const IndexListEntry *itr = front(); itr != getTail();
itr = itr->getNext()) { itr = itr->getNext()) {
errs() << itr->getIndex() << " "; dbgs() << itr->getIndex() << " ";
if (itr->getInstr() != 0) { if (itr->getInstr() != 0) {
errs() << *itr->getInstr(); dbgs() << *itr->getInstr();
} else { } else {
errs() << "\n"; dbgs() << "\n";
} }
} }
for (MBB2IdxMap::const_iterator itr = mbb2IdxMap.begin(); for (MBB2IdxMap::const_iterator itr = mbb2IdxMap.begin();
itr != mbb2IdxMap.end(); ++itr) { 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"; << itr->second.first << ", " << itr->second.second << "]\n";
} }
} }
@ -217,7 +217,7 @@ void SlotIndex::print(raw_ostream &os) const {
// Dump a SlotIndex to stderr. // Dump a SlotIndex to stderr.
void SlotIndex::dump() const { void SlotIndex::dump() const {
print(errs()); print(dbgs());
errs() << "\n"; dbgs() << "\n";
} }