diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 04:37:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 04:37:46 +0000 |
commit | b25de3ff6051d69db87c12c8892cfa37ce6e7d64 (patch) | |
tree | a6d3f90619240ea8767377f971680ca7896975d5 /llvm/lib/Analysis/SparsePropagation.cpp | |
parent | 82e57a6b481bc016e85e39f254f3648594ddf8d2 (diff) | |
download | llvm-b25de3ff6051d69db87c12c8892cfa37ce6e7d64.zip llvm-b25de3ff6051d69db87c12c8892cfa37ce6e7d64.tar.gz llvm-b25de3ff6051d69db87c12c8892cfa37ce6e7d64.tar.bz2 |
eliminate the "Value" printing methods that print to a std::ostream.
This required converting a bunch of stuff off DOUT and other cleanups.
llvm-svn: 79819
Diffstat (limited to 'llvm/lib/Analysis/SparsePropagation.cpp')
-rw-r--r-- | llvm/lib/Analysis/SparsePropagation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/SparsePropagation.cpp b/llvm/lib/Analysis/SparsePropagation.cpp index 887982b..8db6071 100644 --- a/llvm/lib/Analysis/SparsePropagation.cpp +++ b/llvm/lib/Analysis/SparsePropagation.cpp @@ -29,7 +29,7 @@ using namespace llvm; AbstractLatticeFunction::~AbstractLatticeFunction() {} /// PrintValue - Render the specified lattice value to the specified stream. -void AbstractLatticeFunction::PrintValue(LatticeVal V, std::ostream &OS) { +void AbstractLatticeFunction::PrintValue(LatticeVal V, raw_ostream &OS) { if (V == UndefVal) OS << "undefined"; else if (V == OverdefinedVal) @@ -312,7 +312,7 @@ void SparseSolver::Solve(Function &F) { } } -void SparseSolver::Print(Function &F, std::ostream &OS) const { +void SparseSolver::Print(Function &F, raw_ostream &OS) const { OS << "\nFUNCTION: " << F.getNameStr() << "\n"; for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { if (!BBExecutable.count(BB)) |