commit | 9f1fb42b7e6260bcc535cfd50df60b35e17672f8 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Aug 13 20:17:27 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Aug 13 20:17:27 2010 +0000 |
tree | 9851f91af383061aa3702b61849ccaecbe315b54 | |
parent | 58a85b96b887f1abbdd3deec5c44844d24393077 [diff] [blame] |
Add a const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111038 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 048fe51..6bb121f 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp
@@ -523,7 +523,7 @@ /// 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) {}