Make Print callable from a pass's print method: add const qualifier. No
[oota-llvm.git] / include / llvm / Analysis / SparsePropagation.h
index 147632930600f2c4fd2358d38c8f8456910eadd2..1e2114840ad4f08327d1a44f70f11afbc26187be 100644 (file)
@@ -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,