diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-25 18:43:33 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-25 18:43:33 +0000 |
commit | bd7de269f3cdf254829e0e411402c053b9552335 (patch) | |
tree | 0cf87c7fe920416d4c68c3e3f9673a9fd8ab4d6e | |
parent | 432d483ae99e03aabe4a2ffd495aef43c2f9277f (diff) | |
download | gcc-bd7de269f3cdf254829e0e411402c053b9552335.zip gcc-bd7de269f3cdf254829e0e411402c053b9552335.tar.gz gcc-bd7de269f3cdf254829e0e411402c053b9552335.tar.bz2 |
config/picochip: Use rtx_insn
gcc/
* config/picochip/picochip-protos.h (picochip_final_prescan_insn):
Strengthen param "insn" from rtx to rtx_insn *.
* config/picochip/picochip.c (picochip_current_prescan_insn):
Likewise for this variable.
(picochip_final_prescan_insn): Likewise for param "insn".
From-SVN: r214453
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/picochip/picochip-protos.h | 3 | ||||
-rw-r--r-- | gcc/config/picochip/picochip.c | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e6cef7f..5f65301 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,13 @@ 2014-08-25 David Malcolm <dmalcolm@redhat.com> + * config/picochip/picochip-protos.h (picochip_final_prescan_insn): + Strengthen param "insn" from rtx to rtx_insn *. + * config/picochip/picochip.c (picochip_current_prescan_insn): + Likewise for this variable. + (picochip_final_prescan_insn): Likewise for param "insn". + +2014-08-25 David Malcolm <dmalcolm@redhat.com> + * config/pa/pa-protos.h (pa_output_call): Strengthen first param from rtx to rtx_insn *. (pa_output_indirect_call): Likewise. diff --git a/gcc/config/picochip/picochip-protos.h b/gcc/config/picochip/picochip-protos.h index 4d8dfd6..e7efc40 100644 --- a/gcc/config/picochip/picochip-protos.h +++ b/gcc/config/picochip/picochip-protos.h @@ -73,7 +73,8 @@ extern rtx picochip_get_high_const (rtx value); extern void picochip_expand_prologue (void); extern void picochip_expand_epilogue (int is_sibling_call); -extern void picochip_final_prescan_insn (rtx insn, rtx * operand, int num_operands); +extern void picochip_final_prescan_insn (rtx_insn *insn, rtx * operand, + int num_operands); extern const char *picochip_asm_output_opcode (FILE * f, const char *ptr); extern int picochip_check_conditional_copy (rtx * operands); diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c index 1894fadf..b6ce5fc 100644 --- a/gcc/config/picochip/picochip.c +++ b/gcc/config/picochip/picochip.c @@ -164,7 +164,7 @@ static int picochip_vliw_continuation = 0; between final_prescan_insn and functions such as asm_output_opcode, and picochip_get_vliw_alu_id (which are otherwise unable to determine the current instruction. */ -static rtx picochip_current_prescan_insn; +static rtx_insn *picochip_current_prescan_insn; static bool picochip_is_delay_slot_pending = 0; @@ -3873,7 +3873,7 @@ picochip_rtx_costs (rtx x, int code, int outer_code ATTRIBUTE_UNUSED, } void -picochip_final_prescan_insn (rtx insn, rtx * opvec ATTRIBUTE_UNUSED, +picochip_final_prescan_insn (rtx_insn *insn, rtx * opvec ATTRIBUTE_UNUSED, int num_operands ATTRIBUTE_UNUSED) { rtx local_insn; |