[llvm-commits] [llvm] r137489 - /llvm/trunk/include/llvm/CodeGen/LexicalScopes.h

Devang Patel dpatel at apple.com
Fri Aug 12 11:18:02 PDT 2011


Author: dpatel
Date: Fri Aug 12 13:18:02 2011
New Revision: 137489

URL: http://llvm.org/viewvc/llvm-project?rev=137489&view=rev
Log:
Constify.

Modified:
    llvm/trunk/include/llvm/CodeGen/LexicalScopes.h

Modified: llvm/trunk/include/llvm/CodeGen/LexicalScopes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LexicalScopes.h?rev=137489&r1=137488&r2=137489&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LexicalScopes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LexicalScopes.h Fri Aug 12 13:18:02 2011
@@ -209,7 +209,7 @@
   }
 
   /// 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())





More information about the llvm-commits mailing list