Change errs() to dbgs().
authorDavid Greene <greened@obbligato.org>
Mon, 4 Jan 2010 23:48:20 +0000 (23:48 +0000)
committerDavid Greene <greened@obbligato.org>
Mon, 4 Jan 2010 23:48:20 +0000 (23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92545 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineInstr.cpp

index a761c2daa96b648ee3a7ee16336f16be9814d887..358ea3fd71a8a33f676c1b2def26a7011c926e07 100644 (file)
@@ -28,6 +28,7 @@
 #include "llvm/Target/TargetRegisterInfo.h"
 #include "llvm/Analysis/AliasAnalysis.h"
 #include "llvm/Analysis/DebugInfo.h"
+#include "llvm/Support/Debug.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/LeakDetector.h"
 #include "llvm/Support/MathExtras.h"
@@ -1094,7 +1095,7 @@ unsigned MachineInstr::isConstantValuePHI() const {
 }
 
 void MachineInstr::dump() const {
-  errs() << "  " << *this;
+  dbgs() << "  " << *this;
 }
 
 void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {