Add a const.
authorDan Gohman <gohman@apple.com>
Fri, 13 Aug 2010 20:17:27 +0000 (20:17 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 13 Aug 2010 20:17:27 +0000 (20:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111038 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index 048fe513a2039a1afa1a4010515b26777235fe33..6bb121f82ab078c647ad61b400eb3b438c55c44b 100644 (file)
@@ -523,7 +523,7 @@ namespace {
   /// than the complexity of the RHS.  This comparator is used to canonicalize
   /// expressions.
   class SCEVComplexityCompare {
-    const LoopInfo *LI;
+    const LoopInfo *const LI;
   public:
     explicit SCEVComplexityCompare(const LoopInfo *li) : LI(li) {}