diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/ADT/ImmutableSet.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/ADT/ImmutableSet.h b/llvm/include/llvm/ADT/ImmutableSet.h index 59b13932699..3ff6571481a 100644 --- a/llvm/include/llvm/ADT/ImmutableSet.h +++ b/llvm/include/llvm/ADT/ImmutableSet.h @@ -264,7 +264,7 @@ private:    /// MarkImmutable - Clears the mutable flag for a tree.  After this happens,    ///   it is an error to call setLeft(), setRight(), and setHeight().  It    ///   is also then safe to call getLeft() instead of getSafeLeft().   -  void MarkMutable() { +  void MarkImmutable() {      assert (isMutable() && "Mutable flag already removed.");      Left &= ~Mutable;    } @@ -507,7 +507,7 @@ private:      if (!T || !T->isMutable())        return; -    T->MarkMutable(); +    T->MarkImmutable();      MarkImmutable(Left(T));      MarkImmutable(Right(T));    }  | 

