From c695ea9e8dca7a4f955b6bc17da49be5553c9f37 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 4 Feb 2008 21:17:02 +0000 Subject: [PATCH] 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 --- include/llvm/ADT/ImmutableMap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/ADT/ImmutableMap.h b/include/llvm/ADT/ImmutableMap.h index de1c5875a32..8fbf63a4f21 100644 --- a/include/llvm/ADT/ImmutableMap.h +++ b/include/llvm/ADT/ImmutableMap.h @@ -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 {