diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-02-04 21:17:02 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-02-04 21:17:02 +0000 |
| commit | c695ea9e8dca7a4f955b6bc17da49be5553c9f37 (patch) | |
| tree | a714fde5c2ee941a3c60d8891935949cfd9790e2 /include | |
| parent | 0e50128099171b431b05a34f5b98ea1c2f82b867 (diff) | |
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
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/ADT/ImmutableMap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/ImmutableMap.h b/include/llvm/ADT/ImmutableMap.h index de1c5875a3..8fbf63a4f2 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 { |
