Re: [06/12] Consolidate string hashers

2015-06-25 Thread Jeff Law
On 06/23/2015 08:49 AM, Richard Sandiford wrote: This patch replaces various string hashers with a single copy in hash-traits.h. gcc/ * hash-traits.h (string_hash, nofree_string_hash): New classes. * genmatch.c (capture_id_map_hasher): Use nofree_string_hash. * passes.c

Re: [06/12] Consolidate string hashers

2015-06-24 Thread Mikhail Maltsev
On 23.06.2015 17:49, Richard Sandiford wrote: This patch replaces various string hashers with a single copy in hash-traits.h. (snip) Index: gcc/config/alpha/alpha.c === --- gcc/config/alpha/alpha.c 2015-06-23

Re: [06/12] Consolidate string hashers

2015-06-24 Thread Richard Sandiford
Mikhail Maltsev malts...@gmail.com writes: On 23.06.2015 17:49, Richard Sandiford wrote: Index: gcc/config/alpha/alpha.c === --- gcc/config/alpha/alpha.c 2015-06-23 15:48:30.751788389 +0100 +++ gcc/config/alpha/alpha.c 2015-06-23

[06/12] Consolidate string hashers

2015-06-23 Thread Richard Sandiford
This patch replaces various string hashers with a single copy in hash-traits.h. gcc/ * hash-traits.h (string_hash, nofree_string_hash): New classes. * genmatch.c (capture_id_map_hasher): Use nofree_string_hash. * passes.c (pass_registry_hasher): Likewise. *