mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 22:43:53 +00:00
Constify.
llvm-svn: 137489
This commit is contained in:
parent
72f9fbf34e
commit
b79ed42390
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user