diff options
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r-- | gcc/loop-unroll.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index e2e2f23f95e..3fa7fc0ceeb 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -112,10 +112,8 @@ struct var_to_expand /* Hashtable helper for iv_to_split. */ -struct iv_split_hasher : typed_free_remove <iv_to_split> +struct iv_split_hasher : free_ptr_hash <iv_to_split> { - typedef iv_to_split *value_type; - typedef iv_to_split *compare_type; static inline hashval_t hash (const iv_to_split *); static inline bool equal (const iv_to_split *, const iv_to_split *); }; @@ -139,10 +137,8 @@ iv_split_hasher::equal (const iv_to_split *i1, const iv_to_split *i2) /* Hashtable helper for iv_to_split. */ -struct var_expand_hasher : typed_free_remove <var_to_expand> +struct var_expand_hasher : free_ptr_hash <var_to_expand> { - typedef var_to_expand *value_type; - typedef var_to_expand *compare_type; static inline hashval_t hash (const var_to_expand *); static inline bool equal (const var_to_expand *, const var_to_expand *); }; |