diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-21 09:40:09 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-21 09:40:09 +0000 |
commit | 579f75aefaf6ad541772195667b4f3afbf738fe5 (patch) | |
tree | bdaedc88d062be340eb32158d131b0b8754dd0f9 /gcc/rtl.h | |
parent | 622dbadfab3efe2677b5e789b4e930482630a99e (diff) | |
download | gcc-579f75aefaf6ad541772195667b4f3afbf738fe5.zip gcc-579f75aefaf6ad541772195667b4f3afbf738fe5.tar.gz gcc-579f75aefaf6ad541772195667b4f3afbf738fe5.tar.bz2 |
peephole returns an rtx_insn
2014-08-21 David Malcolm <dmalcolm@redhat.com>
* output.h (peephole): Strengthen return type from rtx to
rtx_insn *.
* rtl.h (delete_for_peephole): Likewise for both params.
* genpeep.c (main): In generated "peephole" function, strengthen
return type and local "insn" from rtx to rtx_insn *. For now,
rename param "ins1" to "uncast_ins1", adding "ins1" back as an
rtx_insn *, with a checked cast.
* jump.c (delete_for_peephole): Strengthen params "from", "to" and
locals "insn", "next", "prev" from rtx to rtx_insn *.
From-SVN: r214264
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3062,7 +3062,7 @@ extern rtx reversed_comparison (const_rtx, enum machine_mode); extern enum rtx_code reversed_comparison_code (const_rtx, const_rtx); extern enum rtx_code reversed_comparison_code_parts (enum rtx_code, const_rtx, const_rtx, const_rtx); -extern void delete_for_peephole (rtx, rtx); +extern void delete_for_peephole (rtx_insn *, rtx_insn *); extern int condjump_in_parallel_p (const_rtx); /* In emit-rtl.c. */ |