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 --- include/llvm/Analysis/SparsePropagation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/llvm/Analysis/SparsePropagation.h b/include/llvm/Analysis/SparsePropagation.h index 1476329..1e21148 100644 --- a/include/llvm/Analysis/SparsePropagation.h +++ b/include/llvm/Analysis/SparsePropagation.h @@ -138,7 +138,7 @@ public: /// void Solve(Function &F); - void Print(Function &F, std::ostream &OS); + void Print(Function &F, std::ostream &OS) const; /// getLatticeState - Return the LatticeVal object that corresponds to the /// value. If an value is not in the map, it is returned as untracked, -- cgit v1.1