diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-08-22 20:04:03 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-08-22 20:04:03 +0000 |
commit | b447173dc313aa3c9e0ee4695783b34720207a84 (patch) | |
tree | f802040ad2deb0bc1f5baeb95bb622e92c3dfa12 /llvm/lib/CodeGen/DeadMachineInstructionElim.cpp | |
parent | c3f05e854aa3591a7281869e20b49818fae9ffd6 (diff) | |
download | bcm5719-llvm-b447173dc313aa3c9e0ee4695783b34720207a84.tar.gz bcm5719-llvm-b447173dc313aa3c9e0ee4695783b34720207a84.zip |
Convert DOUT to DEBUG(errs()...).
llvm-svn: 79748
Diffstat (limited to 'llvm/lib/CodeGen/DeadMachineInstructionElim.cpp')
-rw-r--r-- | llvm/lib/CodeGen/DeadMachineInstructionElim.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp b/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp index 45ce84b67c9..e104d8cec0e 100644 --- a/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp +++ b/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp @@ -17,6 +17,7 @@ #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" +#include "llvm/Support/raw_ostream.h" #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetMachine.h" using namespace llvm; @@ -110,7 +111,7 @@ bool DeadMachineInstructionElim::runOnMachineFunction(MachineFunction &MF) { // If the instruction is dead, delete it! if (isDead(MI)) { - DOUT << "DeadMachineInstructionElim: DELETING: " << *MI; + DEBUG(errs() << "DeadMachineInstructionElim: DELETING: " << *MI); AnyChanges = true; MI->eraseFromParent(); MIE = MBB->rend(); |