[patch] cleanup CALL_EXPR_ARGS for frv

Sandra Loosemore sandra@codesourcery.com
Mon Feb 19 13:56:00 GMT 2007


Eric Christopher wrote:
> 
> On Feb 15, 2007, at 5:40 PM, Sandra Loosemore wrote:
> 
>>>> Lower importance:
>>>>
>>>>  * Get rid of the CALL_EXPR_ARGS calls in config/frv/frv.c and
>>>>    config/mips/mips.c.
> 
> So, I'll need approval for this one. Tested on frv-elf with no regressions.
> 
> 2007-02-18  Eric Christopher  <echristo@gmail.com>
> 
>     * config/frv/frv.c (frv_read_argument): Take a tree and int argument.
>     Rewrite accordingly.
>     (frv_read_iacc_argument): Ditto.
>     (frv_expand_set_builtin): Take a call instead of arglist, update for
>     above changes.
>     (frv_expand_unop_builtin): Ditto.
>     (frv_expand_binop_builtin): Ditto.
>     (frv_expand_cut_builtin): Ditto.
>     (frv_expand_binopimm_builtin): Ditto.
>     (frv_expand_voidbinop_builtin): Ditto.
>     (frv_expand_int_void2arg): Ditto.
>     (frv_expand_prefetches): Ditto.
>     (frv_expand_voidtriop_builtin): Ditto.
>     (frv_expand_voidaccop_builtin): Ditto.
>     (frv_expand_load_builtin): Ditto.
>     (frv_expand_store_builtin): Ditto.
>     (frv_expand_mdpackh_builtin): Ditto.
>     (frv_expand_mclracc_builtin): Ditto.
>     (frv_expand_mrdacc_builtin): Ditto.
>     (frv_expand_mwtacc_builtin): Ditto.
>     (frv_expand_builtin): Remove usage of CALL_EXPR_ARGS, update
>     calls for above.

This patch looks OK to me -- just the way I would have fixed it myself.  ;-)

-Sandra



More information about the Gcc-patches mailing list