From 6f2197699a53c5711ab7b0f8cc1b57f5e449e40a Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 2 Jan 2008 22:18:33 +0000 Subject: [PATCH] Inverted argument order for ImmutableMap::Profile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45507 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/ImmutableMap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }; -- 2.34.1