Author: kremenek
Date: Mon Oct 15 14:15:48 2007
New Revision: 42999
URL: http://llvm.org/viewvc/llvm-project?rev=42999&view=rev
Log:
Fixed incorrect renaming of method name (forgot two characters).
Modified:
llvm/trunk/include/llvm/ADT/ImmutableSet.h
Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ImmutableSet.h?rev=42999&r1=42998&r2=42999&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ImmutableSet.h (original)
+++ llvm/trunk/include/llvm/ADT/ImmutableSet.h Mon Oct 15 14:15:48 2007
@@ -264,7 +264,7 @@
/// 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 @@
if (!T || !T->isMutable())
return;
- T->MarkMutable();
+ T->MarkImmutable();
MarkImmutable(Left(T));
MarkImmutable(Right(T));
}
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits