Author: kremenek
Date: Wed Jan 2 16:18:33 2008
New Revision: 45507
URL: http://llvm.org/viewvc/llvm-project?rev=45507&view=rev
Log:
Inverted argument order for ImmutableMap::Profile.
Modified:
llvm/trunk/include/llvm/ADT/ImmutableMap.h
Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ImmutableMap.h?rev=45507&r1=45506&r2=45507&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ImmutableMap.h (original)
+++ llvm/trunk/include/llvm/ADT/ImmutableMap.h Wed Jan 2 16:18:33 2008
@@ -188,12 +188,12 @@
inline unsigned getHeight() const { return Root ? Root->getHeight() : 0; }
- static inline void Profile(const ImmutableMap& M, FoldingSetNodeID& ID) {
+ static inline void Profile(FoldingSetNodeID& ID, const ImmutableMap& M) {
ID.AddPointer(M.Root);
}
inline void Profile(FoldingSetNodeID& ID) const {
- return Profile(*this,ID);
+ return Profile(ID,*this);
}
};
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits