aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/SparsePropagation.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-03-11 20:50:17 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-03-11 20:50:17 +0000
commit1d9887054afed2639d1c7490bc96f1e2cc7861ea (patch)
tree5eb2b2a1f1232ab6b2a678c6885e75262174dd1e /lib/Analysis/SparsePropagation.cpp
parent26d6e21c5361ad30f551cecaefddcaa1ed7f040f (diff)
Make Print callable from a pass's print method: add const qualifier. No
functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66700 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/SparsePropagation.cpp')
-rw-r--r--lib/Analysis/SparsePropagation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/SparsePropagation.cpp b/lib/Analysis/SparsePropagation.cpp
index 8f042c2783..543306854c 100644
--- a/lib/Analysis/SparsePropagation.cpp
+++ b/lib/Analysis/SparsePropagation.cpp
@@ -310,7 +310,7 @@ void SparseSolver::Solve(Function &F) {
}
}
-void SparseSolver::Print(Function &F, std::ostream &OS) {
+void SparseSolver::Print(Function &F, std::ostream &OS) const {
OS << "\nFUNCTION: " << F.getNameStr() << "\n";
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
if (!BBExecutable.count(BB))