diff options
author | Torok Edwin <edwintorok@gmail.com> | 2009-03-11 20:50:17 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2009-03-11 20:50:17 +0000 |
commit | 1d9887054afed2639d1c7490bc96f1e2cc7861ea (patch) | |
tree | 5eb2b2a1f1232ab6b2a678c6885e75262174dd1e /lib/Analysis/SparsePropagation.cpp | |
parent | 26d6e21c5361ad30f551cecaefddcaa1ed7f040f (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.cpp | 2 |
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)) |