From 5dc2bb454a43f8e931f409ce9ff8c272423cb8b4 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Mon, 25 Aug 2014 19:54:37 +0000 Subject: [PATCH] config/v850: Use rtx_insn gcc/ * config/v850/v850-protos.h (v850_adjust_insn_length): Strengthen first param from rtx to rtx_insn *. * config/v850/v850.c (v850_adjust_insn_length): Likewise for param "insn". From-SVN: r214466 --- gcc/ChangeLog | 7 +++++++ gcc/config/v850/v850-protos.h | 2 +- gcc/config/v850/v850.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b82b8ec77b9..b9722233303 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-08-25 David Malcolm + + * config/v850/v850-protos.h (v850_adjust_insn_length): Strengthen + first param from rtx to rtx_insn *. + * config/v850/v850.c (v850_adjust_insn_length): Likewise for param + "insn". + 2014-08-25 David Malcolm * config/tilepro/tilepro-protos.h (tilepro_output_cbranch_with_opcode): diff --git a/gcc/config/v850/v850-protos.h b/gcc/config/v850/v850-protos.h index ba504cb6b15..77eb827a7fd 100644 --- a/gcc/config/v850/v850-protos.h +++ b/gcc/config/v850/v850-protos.h @@ -39,7 +39,7 @@ extern char * construct_restore_jr (rtx); extern char * construct_dispose_instruction (rtx); extern char * construct_prepare_instruction (rtx); extern int ep_memory_operand (rtx, enum machine_mode, int); -extern int v850_adjust_insn_length (rtx, int); +extern int v850_adjust_insn_length (rtx_insn *, int); extern const char * v850_gen_movdi (rtx *); extern rtx v850_gen_compare (enum rtx_code, enum machine_mode, rtx, rtx); diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 02b842780b3..bae0e48ed71 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -3092,7 +3092,7 @@ v850_memory_move_cost (enum machine_mode mode, } int -v850_adjust_insn_length (rtx insn, int length) +v850_adjust_insn_length (rtx_insn *insn, int length) { if (TARGET_V850E3V5_UP) { -- 2.30.2