projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24c802b
)
Change errs() to dbgs().
author
David Greene
<greened@obbligato.org>
Tue, 5 Jan 2010 01:28:22 +0000
(
01:28
+0000)
committer
David Greene
<greened@obbligato.org>
Tue, 5 Jan 2010 01:28:22 +0000
(
01:28
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92635
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCInst.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCInst.cpp
b/lib/MC/MCInst.cpp
index d05031870add8487c8101a2f407505146d857648..7c7a6447736c507e80c08f1a04bd8f0db69261d1 100644
(file)
--- 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(
err
s(), 0);
-
err
s() << "\n";
+ print(
dbg
s(), 0);
+
dbg
s() << "\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(
err
s(), 0);
-
err
s() << "\n";
+ print(
dbg
s(), 0);
+
dbg
s() << "\n";
}