config/nds32: Use rtx_insn
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 25 Aug 2014 18:29:41 +0000 (18:29 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 25 Aug 2014 18:29:41 +0000 (18:29 +0000)
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".

From-SVN: r214451

gcc/ChangeLog
gcc/config/nds32/nds32-protos.h
gcc/config/nds32/nds32.c

index b819d91..a447b0f 100644 (file)
@@ -1,5 +1,12 @@
 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
 
+       * 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".
+
+2014-08-25  David Malcolm  <dmalcolm@redhat.com>
+
        * config/mips/mips-protos.h (mips_emit_move): Strengthen return
        type from rtx to rtx_insn *.
        (mips_expand_call): Likewise.
index 307361b..5788425 100644 (file)
@@ -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.  */
 
index 2609a16..5ac44a8 100644 (file)
@@ -3126,7 +3126,7 @@ nds32_ls_333_p (rtx rt, rtx ra, rtx imm, enum machine_mode mode)
    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;