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
This commit is contained in:
David Malcolm 2014-08-25 19:54:37 +00:00 committed by David Malcolm
parent e51f5c08d7
commit 5dc2bb454a
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2014-08-25 David Malcolm <dmalcolm@redhat.com>
* 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 <dmalcolm@redhat.com>
* config/tilepro/tilepro-protos.h (tilepro_output_cbranch_with_opcode):

View File

@ -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);

View File

@ -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)
{