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:
Ted Kremenek 2008-02-04 21:17:02 +00:00
parent 0e50128099
commit c695ea9e8d

View File

@ -205,8 +205,8 @@ public:
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 {