mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 23:00:36 +00:00
Change errs() to dbgs().
llvm-svn: 92589
This commit is contained in:
parent
39454e8cb5
commit
879bc8bffa
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user