Change errs() to dbgs().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92532 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene 2010-01-04 23:02:10 +00:00
parent 8a34229dcf
commit 1d44df6afe

View File

@ -30,6 +30,7 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/Debug.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
@ -59,17 +60,17 @@ LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const {
}
void LiveVariables::VarInfo::dump() const {
errs() << " Alive in blocks: ";
dbgs() << " Alive in blocks: ";
for (SparseBitVector<>::iterator I = AliveBlocks.begin(),
E = AliveBlocks.end(); I != E; ++I)
errs() << *I << ", ";
errs() << "\n Killed by:";
dbgs() << *I << ", ";
dbgs() << "\n Killed by:";
if (Kills.empty())
errs() << " No instructions.\n";
dbgs() << " No instructions.\n";
else {
for (unsigned i = 0, e = Kills.size(); i != e; ++i)
errs() << "\n #" << i << ": " << *Kills[i];
errs() << "\n";
dbgs() << "\n #" << i << ": " << *Kills[i];
dbgs() << "\n";
}
}