[PATCH 142/236] config/nds32: Use rtx_insn
Chung-Ju Wu
jasonwucj@gmail.com
Sun Aug 24 03:25:00 GMT 2014
2014-08-07 1:22 GMT+08:00 David Malcolm <dmalcolm@redhat.com>:
> gcc/
> * config/nds32/nds32-protos.h (nds32_adjust_insn_length):
> Strengthen first param from rtx to rtx_insn *.
> * config/nds32/nds32.c (nds32_adjust_insn_length): Likewise for
> param "insn".
> ---
> gcc/config/nds32/nds32-protos.h | 2 +-
> gcc/config/nds32/nds32.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gcc/config/nds32/nds32-protos.h b/gcc/config/nds32/nds32-protos.h
> index 6d94027..ddcec9c 100644
> --- a/gcc/config/nds32/nds32-protos.h
> +++ b/gcc/config/nds32/nds32-protos.h
> @@ -92,7 +92,7 @@ extern int nds32_can_use_bitci_p (int);
>
> /* Auxiliary function for 'Computing the Length of an Insn'. */
>
> -extern int nds32_adjust_insn_length (rtx, int);
> +extern int nds32_adjust_insn_length (rtx_insn *, int);
>
> /* Auxiliary functions for FP_AS_GP detection. */
>
> diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
> index 47b1318..47e5ae4 100644
> --- a/gcc/config/nds32/nds32.c
> +++ b/gcc/config/nds32/nds32.c
> @@ -4412,7 +4412,7 @@ nds32_valid_stack_push_pop (rtx op, bool push_p)
> Modifies the length assigned to instruction INSN.
> LEN is the initially computed length of the insn. */
> int
> -nds32_adjust_insn_length (rtx insn, int length)
> +nds32_adjust_insn_length (rtx_insn *insn, int length)
> {
> rtx src, dst;
>
> --
The changes in nds32 part are obvious to me.
I will check bootstrap and regression if there is any problem.
Thank you, David. :)
Best reagrds,
jasonwucj
More information about the Gcc-patches
mailing list