of the contained ImutAVLTree root.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46719
91177308-0d34-0410-b5e6-
96231b3b80d8
inline unsigned getHeight() const { return Root ? Root->getHeight() : 0; }
- static inline void Profile(FoldingSetNodeID& ID, const ImmutableMap& M) {
- ID.AddPointer(M.Root);
+ static inline void Profile(FoldingSetNodeID& ID, const ImmutableMap& M) {
+ M.Root->Profile(ID);
}
inline void Profile(FoldingSetNodeID& ID) const {