diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 04:52:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 04:52:46 +0000 |
commit | 79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a (patch) | |
tree | 507e7ca43cdca884242d2bb314ed04ec8a17d52c /lib/Transforms | |
parent | 0c47a412079c11656fdcc7e125d604e3aa543903 (diff) | |
download | external_llvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.zip external_llvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.gz external_llvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.bz2 |
remove the std::ostream version of module and type printing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/Reassociate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index f6e11bc..9ef4ea8 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -62,11 +62,11 @@ namespace { /// static void PrintOps(Instruction *I, const std::vector<ValueEntry> &Ops) { Module *M = I->getParent()->getParent()->getParent(); - cerr << Instruction::getOpcodeName(I->getOpcode()) << " " + errs() << Instruction::getOpcodeName(I->getOpcode()) << " " << *Ops[0].Op->getType(); for (unsigned i = 0, e = Ops.size(); i != e; ++i) { - WriteAsOperand(*cerr.stream() << " ", Ops[i].Op, false, M); - cerr << "," << Ops[i].Rank; + WriteAsOperand(errs() << " ", Ops[i].Op, false, M); + errs() << "," << Ops[i].Rank; } } #endif |