aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/SparsePropagation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 04:37:46 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 04:37:46 +0000
commitb25de3ff6051d69db87c12c8892cfa37ce6e7d64 (patch)
treea6d3f90619240ea8767377f971680ca7896975d5 /llvm/lib/Analysis/SparsePropagation.cpp
parent82e57a6b481bc016e85e39f254f3648594ddf8d2 (diff)
downloadllvm-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.cpp4
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))