From 84f16edb6ac85e95a15fd7817c6bfb996ce8649a Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 9 May 2015 04:15:41 +0000 Subject: [PATCH] make make_reg_eh_region_note and friend take rtx_insn * gcc/ChangeLog: 2015-05-08 Trevor Saunders * except.c (make_reg_eh_region_note): Change argument to rtx_insn *. (make_reg_eh_region_note_nothrow_nononlocal): Likewise. * except.h: Adjust. From-SVN: r222936 --- gcc/ChangeLog | 7 +++++++ gcc/except.c | 4 ++-- gcc/except.h | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54297f26f68..db7f740c0de 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-05-08 Trevor Saunders + + * except.c (make_reg_eh_region_note): Change argument to + rtx_insn *. + (make_reg_eh_region_note_nothrow_nononlocal): Likewise. + * except.h: Adjust. + 2015-05-08 Trevor Saunders * mode-switching.c (commit_mode_sets): Change type of local diff --git a/gcc/except.c b/gcc/except.c index d6095926a99..e4264bf5fc8 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -1694,7 +1694,7 @@ for_each_eh_label (void (*callback) (rtx)) direct call cases) and just pull the data out of the trees. */ void -make_reg_eh_region_note (rtx insn, int ecf_flags, int lp_nr) +make_reg_eh_region_note (rtx_insn *insn, int ecf_flags, int lp_nr) { rtx value; if (ecf_flags & ECF_NOTHROW) @@ -1711,7 +1711,7 @@ make_reg_eh_region_note (rtx insn, int ecf_flags, int lp_nr) already exists. */ void -make_reg_eh_region_note_nothrow_nononlocal (rtx insn) +make_reg_eh_region_note_nothrow_nononlocal (rtx_insn *insn) { rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX); rtx intmin = GEN_INT (INT_MIN); diff --git a/gcc/except.h b/gcc/except.h index eb812033dc8..504b4bde135 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -270,8 +270,8 @@ extern eh_region get_eh_region_from_lp_number (int); extern eh_region eh_region_outermost (struct function *, eh_region, eh_region); -extern void make_reg_eh_region_note (rtx insn, int ecf_flags, int lp_nr); -extern void make_reg_eh_region_note_nothrow_nononlocal (rtx); +extern void make_reg_eh_region_note (rtx_insn *insn, int ecf_flags, int lp_nr); +extern void make_reg_eh_region_note_nothrow_nononlocal (rtx_insn *); extern void verify_eh_tree (struct function *); extern void dump_eh_tree (FILE *, struct function *); -- 2.30.2