diff options
author | David Greene <greened@obbligato.org> | 2010-01-05 01:25:50 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2010-01-05 01:25:50 +0000 |
commit | 714520fb8966f2b8e5be819246bdf6daeb2a8577 (patch) | |
tree | 7f684cfb744f73eb46f9e05b2f69257b2c85a71e /llvm/lib/CodeGen/SlotIndexes.cpp | |
parent | 97d9fc8cdb56bd8d42273717b49dadd99d2a4f06 (diff) | |
download | llvm-714520fb8966f2b8e5be819246bdf6daeb2a8577.zip llvm-714520fb8966f2b8e5be819246bdf6daeb2a8577.tar.gz llvm-714520fb8966f2b8e5be819246bdf6daeb2a8577.tar.bz2 |
Change errs() to dbgs().
llvm-svn: 92589
Diffstat (limited to 'llvm/lib/CodeGen/SlotIndexes.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SlotIndexes.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/SlotIndexes.cpp b/llvm/lib/CodeGen/SlotIndexes.cpp index 782af12..b8f529b 100644 --- a/llvm/lib/CodeGen/SlotIndexes.cpp +++ b/llvm/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"; } |