mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-18 03:37:31 +00:00
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
This commit is contained in:
parent
85d03ae1ae
commit
fd9c58adde
@ -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…
x
Reference in New Issue
Block a user