From b79ed42390adfde1a51a0578a413ed2e87d5dad9 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 12 Aug 2011 18:18:02 +0000 Subject: [PATCH] Constify. llvm-svn: 137489 --- include/llvm/CodeGen/LexicalScopes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/LexicalScopes.h b/include/llvm/CodeGen/LexicalScopes.h index 709681b9821..0271c5d8522 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())