Inverted argument order for ImmutableMap::Profile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45507 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2008-01-02 22:18:33 +00:00
parent 5dfdc1c809
commit 6f2197699a

View File

@ -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);
}
};