[llvm-commits] [llvm] r92545 - /llvm/trunk/lib/CodeGen/MachineInstr.cpp

David Greene greened at obbligato.org
Mon Jan 4 15:48:20 PST 2010


Author: greened
Date: Mon Jan  4 17:48:20 2010
New Revision: 92545

URL: http://llvm.org/viewvc/llvm-project?rev=92545&view=rev
Log:

Change errs() to dbgs().

Modified:
    llvm/trunk/lib/CodeGen/MachineInstr.cpp

Modified: llvm/trunk/lib/CodeGen/MachineInstr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineInstr.cpp?rev=92545&r1=92544&r2=92545&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/MachineInstr.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineInstr.cpp Mon Jan  4 17:48:20 2010
@@ -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 @@
 }
 
 void MachineInstr::dump() const {
-  errs() << "  " << *this;
+  dbgs() << "  " << *this;
 }
 
 void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {





More information about the llvm-commits mailing list