diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-01-02 22:18:33 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-01-02 22:18:33 +0000 |
commit | 6f2197699a53c5711ab7b0f8cc1b57f5e449e40a (patch) | |
tree | 49435f91bc353f91f2d6609c96004eadfbd0b758 | |
parent | 5dfdc1c809bb23e5d918de3b81e08b85f572e4b9 (diff) |
Inverted argument order for ImmutableMap::Profile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45507 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/ImmutableMap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/ImmutableMap.h b/include/llvm/ADT/ImmutableMap.h index 6f62960217..bf5cc8ffd9 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); } }; |