projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dfdc1c
)
Inverted argument order for ImmutableMap::Profile.
author
Ted Kremenek
<kremenek@apple.com>
Wed, 2 Jan 2008 22:18:33 +0000
(22:18 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Wed, 2 Jan 2008 22:18:33 +0000
(22:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45507
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/ImmutableMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/ImmutableMap.h
b/include/llvm/ADT/ImmutableMap.h
index 6f62960217baf2cb49d9017c83228690377820e3..bf5cc8ffd9de750c8407f33326335aac3c118524 100644
(file)
--- a/
include/llvm/ADT/ImmutableMap.h
+++ b/
include/llvm/ADT/ImmutableMap.h
@@
-188,12
+188,12
@@
public:
inline unsigned getHeight() const { return Root ? Root->getHeight() : 0; }
- static inline void Profile(
const ImmutableMap& M, FoldingSetNodeID& ID
) {
+ static inline void Profile(
FoldingSetNodeID& ID, const ImmutableMap& M
) {
ID.AddPointer(M.Root);
}
inline void Profile(FoldingSetNodeID& ID) const {
- return Profile(
*this,ID
);
+ return Profile(
ID,*this
);
}
};