From: Ted Kremenek Date: Mon, 15 Oct 2007 19:15:48 +0000 (+0000) Subject: Fixed incorrect renaming of method name (forgot two characters). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fd9c58adde8d62c0e1bd852e2c8c1d58088f8f03;p=oota-llvm.git Fixed incorrect renaming of method name (forgot two characters). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42999 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/ImmutableSet.h b/include/llvm/ADT/ImmutableSet.h index 59b13932699..3ff6571481a 100644 --- a/include/llvm/ADT/ImmutableSet.h +++ b/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)); }