Constify.
authorDan Gohman <gohman@apple.com>
Wed, 22 Sep 2010 20:11:43 +0000 (20:11 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 22 Sep 2010 20:11:43 +0000 (20:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114574 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/MemoryDependenceAnalysis.h

index f6aab03690ff6cc637c1f0278a1595a0d1930246..0e3b0f82840c879d5a289582e7241b7d750ff55b 100644 (file)
@@ -212,7 +212,7 @@ namespace llvm {
   private:
     /// ValueIsLoadPair - This is a pair<Value*, bool> where the bool is true if
     /// the dependence is a read only dependence, false if read/write.
-    typedef PointerIntPair<Value*, 1, bool> ValueIsLoadPair;
+    typedef PointerIntPair<const Value*, 1, bool> ValueIsLoadPair;
 
     /// BBSkipFirstBlockPair - This pair is used when caching information for a
     /// block.  If the pointer is null, the cache value is not a full query that