diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-25 17:06:24 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-25 17:06:24 +0000 |
commit | 298e7f9ad0f29a52d5ec5034a95dbb1a25e51dea (patch) | |
tree | 58d174cfbabc3960fc80489c30c5371b65ae2a61 /gcc/loop-unroll.c | |
parent | 770ff93bf67f88fe2bba4ff6258b0bb5b674be22 (diff) | |
download | gcc-298e7f9ad0f29a52d5ec5034a95dbb1a25e51dea.tar.gz |
gcc/
* hash-traits.h (free_ptr_hash): New class.
* dwarf2out.c (decl_table_entry_hasher): Inherit from free_ptr_hash
rather than typed_free_remove. Remove redudant typedefs.
(external_ref_hasher): Likewise.
* except.c (action_record_hasher, ttypes_filter_hasher): Likewise.
(ehspec_hasher): Likewise.
* ggc-common.c (saving_hasher): Likewise.
* gimplify.c (gimplify_hasher): Likewise.
* haifa-sched.c (delay_i2_hasher): Likewise.
* loop-invariant.c (invariant_expr_hasher): Likewise.
* loop-iv.c (biv_entry_hasher): Likewise.
* loop-unroll.c (iv_split_hasher, var_expand_hasher): Likewise.
* trans-mem.c (tm_mem_map_hasher, tm_memop_hasher): Likewise.
* tree-cfg.c (locus_discrim_hasher): Likewise.
* tree-eh.c (finally_tree_hasher): Likewise.
* tree-into-ssa.c (var_info_hasher): Likewise.
* tree-parloops.c (reduction_hasher, name_to_copy_hasher): Likewise.
* tree-ssa-loop-ivopts.c (iv_inv_expr_hasher): Likewise.
* tree-ssa-phiopt.c (ssa_names_hasher): Likewise.
* tree-ssa-pre.c (expr_pred_trans_d): Likewise.
* tree-ssa-sccvn.c (vn_constant_hasher): Likewise.
* tree-ssa-structalias.c (equiv_class_hasher): Likewise.
(shared_bitmap_hasher): Likewise.
* tree-ssa-threadupdate.c (redirection_data): Likewise.
* tree-vectorizer.h (peel_info_hasher): Likewise.
* tree-vectorizer.c (simduid_to_vf, simd_array_to_simduid): Likewise.
* config/mips/mips.c (mips_lo_sum_offset_hasher): Likewise.
libcc1/
* plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
rather than typed_free_remove. Remove redudant typedefs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224958 138bc75d-0d04-0410-961f-82ee72b054a4
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 *); }; |