mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-06 14:57:41 +00:00
Constify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137489 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aa175c37d1
commit
92a36e6583
@ -209,7 +209,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// dominates - Return true if current scope dominsates given lexical scope.
|
/// dominates - Return true if current scope dominsates given lexical scope.
|
||||||
bool dominates(const LexicalScope *S) {
|
bool dominates(const LexicalScope *S) const {
|
||||||
if (S == this)
|
if (S == this)
|
||||||
return true;
|
return true;
|
||||||
if (DFSIn < S->getDFSIn() && DFSOut > S->getDFSOut())
|
if (DFSIn < S->getDFSIn() && DFSOut > S->getDFSOut())
|
||||||
|
Loading…
Reference in New Issue
Block a user