summaryrefslogtreecommitdiff
path: root/gcc/genpeep.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-22 16:50:40 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-22 16:50:40 +0000
commitdc1b321656a57fee23fd371a7bd8e9faa40dc8cd (patch)
tree114a414251d5d0923dff5f3df10c6b3cdfe2baf4 /gcc/genpeep.c
parent3a2caf25eaecadc6eb64cd1787ef51081a15679b (diff)
downloadgcc-dc1b321656a57fee23fd371a7bd8e9faa40dc8cd.tar.gz
genpeep.c: peephole requires an rtx_insn
gcc/ * genpeep.c (main): Rename param back from "uncast_ins1" to "ins1", strengthening from rtx to rtx_insn *. Drop now-redundant checked cast. * output.h (peephole): Strengthen param from rtx to rtx_insn *. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214330 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genpeep.c')
-rw-r--r--gcc/genpeep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/genpeep.c b/gcc/genpeep.c
index bc2785e6e7d..440f44408ed 100644
--- a/gcc/genpeep.c
+++ b/gcc/genpeep.c
@@ -378,8 +378,7 @@ from the machine description file `md'. */\n\n");
printf ("extern rtx peep_operand[];\n\n");
printf ("#define operands peep_operand\n\n");
- printf ("rtx_insn *\npeephole (rtx uncast_ins1)\n{\n");
- printf (" rtx_insn *ins1 = as_a <rtx_insn *> (uncast_ins1);\n");
+ printf ("rtx_insn *\npeephole (rtx_insn *ins1)\n{\n");
printf (" rtx_insn *insn ATTRIBUTE_UNUSED;\n");
printf (" rtx x ATTRIBUTE_UNUSED, pat ATTRIBUTE_UNUSED;\n\n");