summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit7b42d7067e5cd25ed327ba8c9ae21d8afa6ee577 (patch)
tree8f1bddebdc43eb0de4eb4d060e5d71a56e08b6cb /llvm/lib/MC/MCInst.cpp
parentac7f537d57a87bc88df0b2642b50dcea485bc9bc (diff)
downloadbcm5719-llvm-7b42d7067e5cd25ed327ba8c9ae21d8afa6ee577.tar.gz
bcm5719-llvm-7b42d7067e5cd25ed327ba8c9ae21d8afa6ee577.zip
Change errs() to dbgs().
llvm-svn: 92635
Diffstat (limited to 'llvm/lib/MC/MCInst.cpp')
-rw-r--r--llvm/lib/MC/MCInst.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/lib/MC/MCInst.cpp b/llvm/lib/MC/MCInst.cpp
index d05031870ad..7c7a6447736 100644
--- a/llvm/lib/MC/MCInst.cpp
+++ b/llvm/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";
}
OpenPOWER on IntegriCloud