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

lib/CodeGen/MachineBasicBlock.cpp

index 74a0d574a232137ec2a8da49c09838fbba357adf..e2ce642cfd6da8bbfd4fcfdf3dbd4ac7b63ed29e 100644 (file)
@@ -19,6 +19,7 @@
 #include "llvm/Target/TargetInstrDesc.h"
 #include "llvm/Target/TargetInstrInfo.h"
 #include "llvm/Target/TargetMachine.h"
+#include "llvm/Support/Debug.h"
 #include "llvm/Support/LeakDetector.h"
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Assembly/Writer.h"
@@ -158,7 +159,7 @@ bool MachineBasicBlock::isOnlyReachableByFallthrough() const {
 }
 
 void MachineBasicBlock::dump() const {
-  print(errs());
+  print(dbgs());
 }
 
 static inline void OutputReg(raw_ostream &os, unsigned RegNo,