More migration to raw_ostream, the water has dried up around the iostream hole.
[oota-llvm.git] / lib / CodeGen / TwoAddressInstructionPass.cpp
index ebdf9cf4468b8dfa44660a1dc4a13f8f882509f2..d205e07a638ce33e8c523bfb69e84fe9398028b3 100644 (file)
@@ -747,7 +747,8 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
   bool MadeChange = false;
 
   DOUT << "********** REWRITING TWO-ADDR INSTRS **********\n";
-  DOUT << "********** Function: " << MF.getFunction()->getName() << '\n';
+  DEBUG(errs() << "********** Function: " 
+        << MF.getFunction()->getName() << '\n');
 
   // ReMatRegs - Keep track of the registers whose def's are remat'ed.
   BitVector ReMatRegs;