What should be the last unnecessary <iostream>s in the library.
[oota-llvm.git] / utils / TableGen / AsmWriterEmitter.cpp
index c8af097250d0532af8846f19f4e1f0ba844badc9..24d2eef07a05fda85b7795622fe9ba93e212032e 100644 (file)
@@ -19,7 +19,6 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MathExtras.h"
 #include <algorithm>
-#include <ostream>
 using namespace llvm;
 
 static bool isIdentChar(char C) {
@@ -551,8 +550,8 @@ void AsmWriterEmitter::run(std::ostream &O) {
     
     // If we don't have enough bits for this operand, don't include it.
     if (NumBits > BitsLeft) {
-      DEBUG(std::cerr << "Not enough bits to densely encode " << NumBits
-                      << " more bits\n");
+      DOUT << "Not enough bits to densely encode " << NumBits
+           << " more bits\n";
       break;
     }