Fixed incorrect renaming of method name (forgot two characters).

llvm-svn: 42999
This commit is contained in:
Ted Kremenek 2007-10-15 19:15:48 +00:00
parent fcce4f378f
commit 7bbc582bb3
1 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ private:
/// MarkImmutable - Clears the mutable flag for a tree. After this happens, /// MarkImmutable - Clears the mutable flag for a tree. After this happens,
/// it is an error to call setLeft(), setRight(), and setHeight(). It /// it is an error to call setLeft(), setRight(), and setHeight(). It
/// is also then safe to call getLeft() instead of getSafeLeft(). /// is also then safe to call getLeft() instead of getSafeLeft().
void MarkMutable() { void MarkImmutable() {
assert (isMutable() && "Mutable flag already removed."); assert (isMutable() && "Mutable flag already removed.");
Left &= ~Mutable; Left &= ~Mutable;
} }
@ -507,7 +507,7 @@ private:
if (!T || !T->isMutable()) if (!T || !T->isMutable())
return; return;
T->MarkMutable(); T->MarkImmutable();
MarkImmutable(Left(T)); MarkImmutable(Left(T));
MarkImmutable(Right(T)); MarkImmutable(Right(T));
} }