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:
4048a08
)
Modified ImmutableSet/ImmutableMap to use FoldingSet profiling using
author
Ted Kremenek
<kremenek@apple.com>
Sat, 19 Jan 2008 04:51:55 +0000
(
04:51
+0000)
committer
Ted Kremenek
<kremenek@apple.com>
Sat, 19 Jan 2008 04:51:55 +0000
(
04:51
+0000)
FoldingSetTrait instead of directly calling a 'Profile' method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46190
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/ImmutableSet.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/ImmutableSet.h
b/include/llvm/ADT/ImmutableSet.h
index 7999bb5967218c946cee5a31f19cdd9c1e184844..e77deeb51eb6f3a934975d3e551449d276d8da36 100644
(file)
--- a/
include/llvm/ADT/ImmutableSet.h
+++ b/
include/llvm/ADT/ImmutableSet.h
@@
-717,8
+717,8
@@
struct ImutProfileInfo {
typedef const T& value_type_ref;
static inline void Profile(FoldingSetNodeID& ID, value_type_ref X) {
-
X.Profile(
ID);
- }
+
FoldingSetTrait<T>::Profile(X,
ID);
+ }
};
/// Profile traits for integers.