[PATCH 142/236] config/nds32: Use rtx_insn
David Malcolm
dmalcolm@redhat.com
Wed Aug 6 17:20:00 GMT 2014
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".
---
gcc/config/nds32/nds32-protos.h | 2 +-
gcc/config/nds32/nds32.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/nds32/nds32-protos.h b/gcc/config/nds32/nds32-protos.h
index 6d94027..ddcec9c 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 47b1318..47e5ae4 100644
--- a/gcc/config/nds32/nds32.c
+++ b/gcc/config/nds32/nds32.c
@@ -4412,7 +4412,7 @@ nds32_valid_stack_push_pop (rtx op, bool push_p)
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;
--
1.8.5.3
More information about the Gcc-patches
mailing list