[llvm-commits] [llvm] r92542 - /llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp
David Greene
greened at obbligato.org
Mon Jan 4 15:22:08 PST 2010
Author: greened
Date: Mon Jan 4 17:22:07 2010
New Revision: 92542
URL: http://llvm.org/viewvc/llvm-project?rev=92542&view=rev
Log:
Change errs() to dbgs().
Modified:
llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp
Modified: llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp?rev=92542&r1=92541&r2=92542&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp Mon Jan 4 17:22:07 2010
@@ -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 @@
}
void MachineBasicBlock::dump() const {
- print(errs());
+ print(dbgs());
}
static inline void OutputReg(raw_ostream &os, unsigned RegNo,
More information about the llvm-commits
mailing list