summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-02-04 21:17:02 +0000
committerTed Kremenek <kremenek@apple.com>2008-02-04 21:17:02 +0000
commitb1e5bcb7190262105a73c22b101b8535dd11b249 (patch)
tree7a77b0b457ff214f8ccfb91d110c82e89359d960 /llvm
parent623df7620d07f1cd38998192a2c057ba157fc893 (diff)
downloadbcm5719-llvm-b1e5bcb7190262105a73c22b101b8535dd11b249.tar.gz
bcm5719-llvm-b1e5bcb7190262105a73c22b101b8535dd11b249.zip
Modified 'Profile' method of ImmutableMap to use the 'Profile' method
of the contained ImutAVLTree root. llvm-svn: 46719
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ADT/ImmutableMap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/ADT/ImmutableMap.h b/llvm/include/llvm/ADT/ImmutableMap.h
index de1c5875a32..8fbf63a4f21 100644
--- a/llvm/include/llvm/ADT/ImmutableMap.h
+++ b/llvm/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 {
OpenPOWER on IntegriCloud