summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-08-12 18:18:02 +0000
committerDevang Patel <dpatel@apple.com>2011-08-12 18:18:02 +0000
commit92a36e65839e28f9a559f46c994b9532b2b9667f (patch)
tree1ccd29a7ab20075efc843daf6810323893cba6a9 /include/llvm/CodeGen
parentaa175c37d1b1e097206bf5fc78da49dcca65e205 (diff)
downloadllvm-92a36e65839e28f9a559f46c994b9532b2b9667f.tar.gz
llvm-92a36e65839e28f9a559f46c994b9532b2b9667f.tar.bz2
llvm-92a36e65839e28f9a559f46c994b9532b2b9667f.tar.xz
Constify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/LexicalScopes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/LexicalScopes.h b/include/llvm/CodeGen/LexicalScopes.h
index 709681b982..0271c5d852 100644
--- a/include/llvm/CodeGen/LexicalScopes.h
+++ b/include/llvm/CodeGen/LexicalScopes.h
@@ -209,7 +209,7 @@ public:
}
/// dominates - Return true if current scope dominsates given lexical scope.
- bool dominates(const LexicalScope *S) {
+ bool dominates(const LexicalScope *S) const {
if (S == this)
return true;
if (DFSIn < S->getDFSIn() && DFSOut > S->getDFSOut())