From 791102fb1192ac9483274e54cbc42480c9b1af10 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 23 Aug 2009 05:17:37 +0000 Subject: eliminate the std::ostream form of WriteAsOperand and update clients. This also updates dominator related stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79825 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/PredicateSimplifier.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Transforms') diff --git a/lib/Transforms/Scalar/PredicateSimplifier.cpp b/lib/Transforms/Scalar/PredicateSimplifier.cpp index e069cea..08d5096 100644 --- a/lib/Transforms/Scalar/PredicateSimplifier.cpp +++ b/lib/Transforms/Scalar/PredicateSimplifier.cpp @@ -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]); -- cgit v1.1