mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-11 06:38:20 +00:00
Modified 'Profile' method of ImmutableMap to use the 'Profile' method
of the contained ImutAVLTree root. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46719 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -205,8 +205,8 @@ public:
|
|||||||
|
|
||||||
inline unsigned getHeight() const { return Root ? Root->getHeight() : 0; }
|
inline unsigned getHeight() const { return Root ? Root->getHeight() : 0; }
|
||||||
|
|
||||||
static inline void Profile(FoldingSetNodeID& ID, const ImmutableMap& M) {
|
static inline void Profile(FoldingSetNodeID& ID, const ImmutableMap& M) {
|
||||||
ID.AddPointer(M.Root);
|
M.Root->Profile(ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void Profile(FoldingSetNodeID& ID) const {
|
inline void Profile(FoldingSetNodeID& ID) const {
|
||||||
|
Reference in New Issue
Block a user