From: David Malcolm Date: Thu, 4 Sep 2014 20:34:36 +0000 (+0000) Subject: eh_returnjump_p takes an rtx_insn X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e3177d9a6d6b6a24027aa2d2d0c4cf410d77f08;p=gcc.git eh_returnjump_p takes an rtx_insn 2014-09-04 David Malcolm gcc/ * jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to rtx_insn *. * rtl.h (eh_returnjump_p): Likewise. From-SVN: r214919 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 851debf7979..e65a69faa00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-09-04 David Malcolm + + * jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to + rtx_insn *. + + * rtl.h (eh_returnjump_p): Likewise. + 2014-09-04 Aldy Hernandez * Makefile.in (TAGS): Handle constructs in timevar.def. diff --git a/gcc/jump.c b/gcc/jump.c index 3cb7ef29eae..12edd927e54 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -954,7 +954,7 @@ returnjump_p (rtx insn) /* Return true if INSN is a (possibly conditional) return insn. */ int -eh_returnjump_p (rtx insn) +eh_returnjump_p (rtx_insn *insn) { if (JUMP_P (insn)) { diff --git a/gcc/rtl.h b/gcc/rtl.h index beeed2f9a1e..10f4bbe8c4d 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -3235,7 +3235,7 @@ extern rtx pc_set (const_rtx); extern rtx condjump_label (const_rtx); extern int simplejump_p (const_rtx); extern int returnjump_p (rtx); -extern int eh_returnjump_p (rtx); +extern int eh_returnjump_p (rtx_insn *); extern int onlyjump_p (const_rtx); extern int only_sets_cc0_p (const_rtx); extern int sets_cc0_p (const_rtx);