This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Do not refer directly to gen_lowpart_xxx
- From: Richard Henderson <rth at redhat dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Zack Weinberg <zack at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Jan 2004 14:38:57 -0800
- Subject: Re: [PATCH] Do not refer directly to gen_lowpart_xxx
- References: <87llnr996l.fsf@egil.codesourcery.com> <00a101c3e765$6d979670$21dd1d97@philo>
On Fri, Jan 30, 2004 at 08:14:41PM +0100, Paolo Bonzini wrote:
> * combine.c (cse_main): Set gen_lowpart to gen_lowpart_for_combine
> and restore it to gen_lowpart_general on exit.
> (gen_lowpart_for_combine): Adjust all callers to go through
> gen_lowpart.
> * cse.c (cse_main): Set gen_lowpart to gen_lowpart_if_possible
> and restore it to gen_lowpart_general on exit.
> (gen_lowpart_if_possible): Adjust all callers to go through
> gen_lowpart.
> * emit-rtl.c (gen_lowpart_general): New name of gen_lowpart.
> (gen_lowpart): Declare as pointer to function, initialized to
> gen_lowpart_general.
> * rtl.h (gen_lowpart): Declare as pointer to function.
Ok.
r~