[llvm-commits] [llvm] r114574 - /llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

Dan Gohman gohman at apple.com
Wed Sep 22 13:11:43 PDT 2010


Author: djg
Date: Wed Sep 22 15:11:43 2010
New Revision: 114574

URL: http://llvm.org/viewvc/llvm-project?rev=114574&view=rev
Log:
Constify.

Modified:
    llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

Modified: llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h?rev=114574&r1=114573&r2=114574&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h Wed Sep 22 15:11:43 2010
@@ -212,7 +212,7 @@
   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





More information about the llvm-commits mailing list