From 1d9887054afed2639d1c7490bc96f1e2cc7861ea Mon Sep 17 00:00:00 2001 From: Torok Edwin Date: Wed, 11 Mar 2009 20:50:17 +0000 Subject: 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 --- lib/Analysis/SparsePropagation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Analysis/SparsePropagation.cpp b/lib/Analysis/SparsePropagation.cpp index 8f042c2..5433068 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)) -- cgit v1.1