summaryrefslogtreecommitdiff
path: root/lib/MC/MCInst.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-01-05 01:28:22 +0000
committerDavid Greene <greened@obbligato.org>2010-01-05 01:28:22 +0000
commit593b6e4cb9386818da1a185fed4a8cc1d5af43ef (patch)
tree91781101592e7ac22f6b072f5be840b92a32e664 /lib/MC/MCInst.cpp
parent24c802bc8d6b3e248b4bc4e5951c88127dd799d6 (diff)
downloadllvm-593b6e4cb9386818da1a185fed4a8cc1d5af43ef.tar.gz
llvm-593b6e4cb9386818da1a185fed4a8cc1d5af43ef.tar.bz2
llvm-593b6e4cb9386818da1a185fed4a8cc1d5af43ef.tar.xz
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCInst.cpp')
-rw-r--r--lib/MC/MCInst.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/MC/MCInst.cpp b/lib/MC/MCInst.cpp
index d05031870a..7c7a644773 100644
--- a/lib/MC/MCInst.cpp
+++ b/lib/MC/MCInst.cpp
@@ -9,6 +9,7 @@
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCExpr.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
@@ -31,8 +32,8 @@ void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
}
void MCOperand::dump() const {
- print(errs(), 0);
- errs() << "\n";
+ print(dbgs(), 0);
+ dbgs() << "\n";
}
void MCInst::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
@@ -45,6 +46,6 @@ void MCInst::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
}
void MCInst::dump() const {
- print(errs(), 0);
- errs() << "\n";
+ print(dbgs(), 0);
+ dbgs() << "\n";
}