diff options
author | David Greene <greened@obbligato.org> | 2010-01-04 23:02:10 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2010-01-04 23:02:10 +0000 |
commit | 1d44df6afe6f9e722a8c7be4a0fbcd9163d9a379 (patch) | |
tree | de25223a9138b29bf885d15c5c5d0d5a789a6315 /lib/CodeGen/LiveVariables.cpp | |
parent | 8a34229dcf484739119857988772572ef0cad9f2 (diff) | |
download | external_llvm-1d44df6afe6f9e722a8c7be4a0fbcd9163d9a379.zip external_llvm-1d44df6afe6f9e722a8c7be4a0fbcd9163d9a379.tar.gz external_llvm-1d44df6afe6f9e722a8c7be4a0fbcd9163d9a379.tar.bz2 |
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92532 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveVariables.cpp')
-rw-r--r-- | lib/CodeGen/LiveVariables.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/CodeGen/LiveVariables.cpp b/lib/CodeGen/LiveVariables.cpp index 3c88e37..785ab1f 100644 --- a/lib/CodeGen/LiveVariables.cpp +++ b/lib/CodeGen/LiveVariables.cpp @@ -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"; } } |