forked from OSchip/llvm-project
Fixed incorrect renaming of method name (forgot two characters).
llvm-svn: 42999
This commit is contained in:
parent
fcce4f378f
commit
7bbc582bb3
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue