diff options
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
-rw-r--r-- | gcc/tree-ssa-phiopt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index 14a7122f970..7c846c2b6e2 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -1332,10 +1332,10 @@ struct name_to_bb struct ssa_names_hasher : typed_free_remove <name_to_bb> { - typedef name_to_bb value_type; - typedef name_to_bb compare_type; - static inline hashval_t hash (const value_type *); - static inline bool equal (const value_type *, const compare_type *); + typedef name_to_bb *value_type; + typedef name_to_bb *compare_type; + static inline hashval_t hash (const name_to_bb *); + static inline bool equal (const name_to_bb *, const name_to_bb *); }; /* Used for quick clearing of the hash-table when we see calls. @@ -1345,7 +1345,7 @@ static unsigned int nt_call_phase; /* The hash function. */ inline hashval_t -ssa_names_hasher::hash (const value_type *n) +ssa_names_hasher::hash (const name_to_bb *n) { return n->ssa_name_ver ^ (((hashval_t) n->store) << 31) ^ (n->offset << 6) ^ (n->size << 3); @@ -1354,7 +1354,7 @@ ssa_names_hasher::hash (const value_type *n) /* The equality function of *P1 and *P2. */ inline bool -ssa_names_hasher::equal (const value_type *n1, const compare_type *n2) +ssa_names_hasher::equal (const name_to_bb *n1, const name_to_bb *n2) { return n1->ssa_name_ver == n2->ssa_name_ver && n1->store == n2->store |