[llvm-commits] [llvm] r92635 - /llvm/trunk/lib/MC/MCInst.cpp

David Greene greened at obbligato.org
Mon Jan 4 17:28:22 PST 2010


Author: greened
Date: Mon Jan  4 19:28:22 2010
New Revision: 92635

URL: http://llvm.org/viewvc/llvm-project?rev=92635&view=rev
Log:
Change errs() to dbgs().

Modified:
    llvm/trunk/lib/MC/MCInst.cpp

Modified: llvm/trunk/lib/MC/MCInst.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCInst.cpp?rev=92635&r1=92634&r2=92635&view=diff

==============================================================================
--- llvm/trunk/lib/MC/MCInst.cpp (original)
+++ llvm/trunk/lib/MC/MCInst.cpp Mon Jan  4 19:28:22 2010
@@ -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::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::dump() const {
-  print(errs(), 0);
-  errs() << "\n";
+  print(dbgs(), 0);
+  dbgs() << "\n";
 }





More information about the llvm-commits mailing list