From: Trevor Saunders Date: Sat, 9 May 2015 04:17:05 +0000 (+0000) Subject: use rtx_insn * more in reorg.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d415e65efa150795c3b712e136bd8d5334cb4cd;p=gcc.git use rtx_insn * more in reorg.c gcc/ChangeLog: 2015-05-08 Trevor Saunders * reorg.c: Change argument types to rtx_insn *. From-SVN: r222951 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index efe4ca051f4..9468f4edf44 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-05-08 Trevor Saunders + + * reorg.c: Change argument types to rtx_insn *. + 2015-05-08 Trevor Saunders * ira-color.c: Change argument types to rtx_insn *. diff --git a/gcc/reorg.c b/gcc/reorg.c index 2f7bb43f9ca..4b41f7e96a7 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -186,7 +186,7 @@ skip_consecutive_labels (rtx label_or_return) and REG_CC_USER notes so we can find it. */ static void -link_cc0_insns (rtx insn) +link_cc0_insns (rtx_insn *insn) { rtx user = next_nonnote_insn (insn); @@ -260,12 +260,12 @@ static rtx_insn_list *steal_delay_list_from_fallthrough (rtx_insn *, rtx, struct resources *, struct resources *, int, int *, int *); -static void try_merge_delay_insns (rtx, rtx_insn *); +static void try_merge_delay_insns (rtx_insn *, rtx_insn *); static rtx redundant_insn (rtx, rtx_insn *, rtx); static int own_thread_p (rtx, rtx, int); static void update_block (rtx_insn *, rtx); static int reorg_redirect_jump (rtx_insn *, rtx); -static void update_reg_dead_notes (rtx, rtx); +static void update_reg_dead_notes (rtx_insn *, rtx_insn *); static void fix_reg_dead_note (rtx, rtx); static void update_reg_unused_notes (rtx, rtx); static void fill_simple_delay_slots (int); @@ -1313,7 +1313,7 @@ steal_delay_list_from_fallthrough (rtx_insn *insn, rtx condition, we delete the merged insn. */ static void -try_merge_delay_insns (rtx insn, rtx_insn *thread) +try_merge_delay_insns (rtx_insn *insn, rtx_insn *thread) { rtx_insn *trial, *next_trial; rtx_insn *delay_insn = as_a (XVECEXP (PATTERN (insn), 0, 0)); @@ -1807,7 +1807,7 @@ reorg_redirect_jump (rtx_insn *jump, rtx nlabel) is dead because it sees a REG_DEAD note immediately before a CODE_LABEL. */ static void -update_reg_dead_notes (rtx insn, rtx delayed_insn) +update_reg_dead_notes (rtx_insn *insn, rtx_insn *delayed_insn) { rtx link, next; rtx_insn *p;