aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-21 09:40:09 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-21 09:40:09 +0000
commit579f75aefaf6ad541772195667b4f3afbf738fe5 (patch)
treebdaedc88d062be340eb32158d131b0b8754dd0f9 /gcc/rtl.h
parent622dbadfab3efe2677b5e789b4e930482630a99e (diff)
downloadgcc-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index f9713f1..7d31333 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -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. */