aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-25 18:29:41 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-25 18:29:41 +0000
commitca009aee77619f9bb2798db1f732d5d18e5d9284 (patch)
tree307ad4c9bbc7201cae34aaff64a09433264d508f
parentc6f971f453890cb1e617307073d08fbca7de37c7 (diff)
downloadgcc-ca009aee77619f9bb2798db1f732d5d18e5d9284.zip
gcc-ca009aee77619f9bb2798db1f732d5d18e5d9284.tar.gz
gcc-ca009aee77619f9bb2798db1f732d5d18e5d9284.tar.bz2
config/nds32: Use rtx_insn
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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/nds32/nds32-protos.h2
-rw-r--r--gcc/config/nds32/nds32.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b819d91..a447b0f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/nds32/nds32-protos.h b/gcc/config/nds32/nds32-protos.h
index 307361b..5788425 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 2609a16..5ac44a8 100644
--- a/gcc/config/nds32/nds32.c
+++ b/gcc/config/nds32/nds32.c
@@ -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;