diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 05:17:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 05:17:37 +0000 |
commit | 791102fb1192ac9483274e54cbc42480c9b1af10 (patch) | |
tree | 4729b1da9b9c946fb83bc177dd3d00bffcf85390 /lib/Transforms | |
parent | 79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a (diff) | |
download | external_llvm-791102fb1192ac9483274e54cbc42480c9b1af10.zip external_llvm-791102fb1192ac9483274e54cbc42480c9b1af10.tar.gz external_llvm-791102fb1192ac9483274e54cbc42480c9b1af10.tar.bz2 |
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/PredicateSimplifier.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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]); |