mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
Modified ImmutableSet/ImmutableMap to use FoldingSet profiling using
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
This commit is contained in:
parent
4048a08284
commit
3cf8bec783
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user