mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
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:
@@ -188,12 +188,12 @@ public:
|
|||||||
|
|
||||||
inline unsigned getHeight() const { return Root ? Root->getHeight() : 0; }
|
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);
|
ID.AddPointer(M.Root);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void Profile(FoldingSetNodeID& ID) const {
|
inline void Profile(FoldingSetNodeID& ID) const {
|
||||||
return Profile(*this,ID);
|
return Profile(ID,*this);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user