can_nonlocal_goto can take a rtx_insn *

gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* except.c (can_nonlocal_goto): Change type of argument to
	rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222940
This commit is contained in:
Trevor Saunders 2015-05-09 04:16:03 +00:00 committed by Trevor Saunders
parent 63bd63246e
commit d8c1e9b62d
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* except.c (can_nonlocal_goto): Change type of argument to
rtx_insn *.
* rtl.h: Adjust.
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* rtlanal.c (computed_jump_p): Cange argument type to rtx_insn *.

View File

@ -1941,7 +1941,7 @@ insn_nothrow_p (const_rtx insn)
/* ??? This test is here in this file because it (ab)uses REG_EH_REGION. */
bool
can_nonlocal_goto (const_rtx insn)
can_nonlocal_goto (const rtx_insn *insn)
{
if (nonlocal_goto_handler_labels && CALL_P (insn))
{

View File

@ -2881,7 +2881,7 @@ extern bool can_throw_internal (const_rtx);
extern bool can_throw_external (const_rtx);
extern bool insn_could_throw_p (const_rtx);
extern bool insn_nothrow_p (const_rtx);
extern bool can_nonlocal_goto (const_rtx);
extern bool can_nonlocal_goto (const rtx_insn *);
extern void copy_reg_eh_region_note_forward (rtx, rtx_insn *, rtx);
extern void copy_reg_eh_region_note_backward (rtx, rtx_insn *, rtx);
extern int inequality_comparisons_p (const_rtx);