From df35e0bde1f245e8cd49c29cb4de9747257151cd Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 7 Jan 2019 14:34:06 +0000 Subject: [PATCH] tree-ssa-uncprop.c (ssa_equip_hash_traits): Remove in favor of tree_operand_hash. 2019-01-07 Richard Biener * tree-ssa-uncprop.c (ssa_equip_hash_traits): Remove in favor of tree_operand_hash. From-SVN: r267649 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-uncprop.c | 14 +------------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e5f3ad231c9..472145b6cb7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-01-07 Richard Biener + + * tree-ssa-uncprop.c (ssa_equip_hash_traits): Remove in favor + of tree_operand_hash. + 2019-01-07 Richard Sandiford PR tree-optimization/88598 diff --git a/gcc/tree-ssa-uncprop.c b/gcc/tree-ssa-uncprop.c index b9b05ed1a2c..d61a685bb1c 100644 --- a/gcc/tree-ssa-uncprop.c +++ b/gcc/tree-ssa-uncprop.c @@ -268,19 +268,7 @@ associate_equivalences_with_edges (void) so with each value we have a list of SSA_NAMEs that have the same value. */ -/* Traits for the hash_map to record the value to SSA name equivalences - mapping. */ -struct ssa_equip_hash_traits : default_hash_traits -{ - static inline hashval_t hash (value_type value) - { return iterative_hash_expr (value, 0); } - static inline bool equal (value_type existing, value_type candidate) - { return operand_equal_p (existing, candidate, 0); } -}; - -typedef hash_map, - simple_hashmap_traits > > val_ssa_equiv_t; +typedef hash_map > val_ssa_equiv_t; /* Global hash table implementing a mapping from invariant values to a list of SSA_NAMEs which have the same value. We might be -- 2.30.2