eliminate the std::ostream form of WriteAsOperand and update clients.
[oota-llvm.git] / lib / Transforms / Scalar / PredicateSimplifier.cpp
index e069cea2201f5a8a1673ff6517487219d25d10d4..08d5096d9ea90eba37bf9d1f10741342adda30f2 100644 (file)
@@ -425,10 +425,10 @@ namespace {
 #ifndef NDEBUG
     virtual ~ValueNumbering() {}
     virtual void dump() {
-      dump(*cerr.stream());
+      print(errs());
     }
 
-    void dump(std::ostream &os) {
+    void print(raw_ostream &os) {
       for (unsigned i = 1; i <= Values.size(); ++i) {
         os << i << " = ";
         WriteAsOperand(os, Values[i-1]);