This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Rename inchash::hash::add_wide_int
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Fri, 13 Oct 2017 09:18:45 -0600
- Subject: Re: Rename inchash::hash::add_wide_int
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=law at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 664C4780CD
- References: <874lr3ta8u.fsf@linaro.org>
On 10/13/2017 08:04 AM, Richard Sandiford wrote:
> The name inchash::add_wide_int is a bit misleading, since it sounds
> like it's hashing a wide_int. This patch renames it to add_hwi instead.
>
> Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-gnu.
> OK to install?
>
> Richard
>
>
> 2017-10-13 Richard Sandiford <richard.sandiford@linaro.org>
>
> gcc/
> * inchash.h (inchash::hash::add_wide_int): Rename to...
> (inchash::hash::add_hwi): ...this.
> * ipa-devirt.c (hash_odr_vtable): Update accordingly.
> (polymorphic_call_target_hasher::hash): Likewise.
> * ipa-icf.c (sem_function::get_hash, sem_function::init): Likewise.
> (sem_item::add_expr, sem_item::add_type, sem_variable::get_hash)
> (sem_item_optimizer::update_hash_by_addr_refs): Likewise.
> * lto-streamer-out.c (hash_tree): Likewise.
> * optc-save-gen.awk: Likewise.
> * tree.c (add_expr): Likewise.
OK.
jeff