summaryrefslogtreecommitdiff
path: root/gcc/ipa-profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-profile.c')
-rw-r--r--gcc/ipa-profile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ipa-profile.c b/gcc/ipa-profile.c
index e9f937fdf3b..96fb8102fc8 100644
--- a/gcc/ipa-profile.c
+++ b/gcc/ipa-profile.c
@@ -113,10 +113,10 @@ static alloc_pool histogram_pool;
struct histogram_hash : typed_noop_remove <histogram_entry>
{
- typedef histogram_entry value_type;
- typedef histogram_entry compare_type;
- static inline hashval_t hash (const value_type *);
- static inline int equal (const value_type *, const compare_type *);
+ typedef histogram_entry *value_type;
+ typedef histogram_entry *compare_type;
+ static inline hashval_t hash (const histogram_entry *);
+ static inline int equal (const histogram_entry *, const histogram_entry *);
};
inline hashval_t