Author: kremenek Date: Mon Feb 4 15:17:02 2008 New Revision: 46719 URL: http://llvm.org/viewvc/llvm-project?rev=46719&view=rev Log: Modified 'Profile' method of ImmutableMap to use the 'Profile' method of the contained ImutAVLTree root.
Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ImmutableMap.h?rev=46719&r1=46718&r2=46719&view=diff ============================================================================== --- llvm/trunk/include/llvm/ADT/ImmutableMap.h (original) +++ llvm/trunk/include/llvm/ADT/ImmutableMap.h Mon Feb 4 15:17:02 2008 @@ -205,8 +205,8 @@ 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 { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits