From: Ted Kremenek Date: Wed, 2 Jan 2008 22:18:33 +0000 (+0000) Subject: Inverted argument order for ImmutableMap::Profile. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6f2197699a53c5711ab7b0f8cc1b57f5e449e40a;p=oota-llvm.git Inverted argument order for ImmutableMap::Profile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45507 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/ImmutableMap.h b/include/llvm/ADT/ImmutableMap.h index 6f62960217b..bf5cc8ffd9d 100644 --- a/include/llvm/ADT/ImmutableMap.h +++ b/include/llvm/ADT/ImmutableMap.h @@ -188,12 +188,12 @@ public: 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); } };