From: Trevor Saunders Date: Sat, 9 May 2015 04:16:13 +0000 (+0000) Subject: make add_shallow_copy_of_reg_note take an rtx_insn * X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b8d3c60b692059d96791bf2a3249367a8682b07;p=gcc.git make add_shallow_copy_of_reg_note take an rtx_insn * gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtlanal.c (add_shallow_copy_of_reg_note): Change argument type to rtx_insn *. * rtl.h: Adjust. From-SVN: r222942 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c9b517fec67..d519861a284 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-05-08 Trevor Saunders + + * rtlanal.c (add_shallow_copy_of_reg_note): Change argument type + to rtx_insn *. + * rtl.h: Adjust. + 2015-05-08 Trevor Saunders * rtlanal.c (remove_reg_equal_equiv_notes): Change argument type diff --git a/gcc/rtl.h b/gcc/rtl.h index 1e161f713c4..82ed3b3c6ac 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2867,7 +2867,7 @@ extern int find_regno_fusage (const_rtx, enum rtx_code, unsigned int); extern rtx alloc_reg_note (enum reg_note, rtx, rtx); extern void add_reg_note (rtx, enum reg_note, rtx); extern void add_int_reg_note (rtx, enum reg_note, int); -extern void add_shallow_copy_of_reg_note (rtx, rtx); +extern void add_shallow_copy_of_reg_note (rtx_insn *, rtx); extern void remove_note (rtx, const_rtx); extern void remove_reg_equal_equiv_notes (rtx_insn *); extern void remove_reg_equal_equiv_notes_for_regno (unsigned int); diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 1a6942491df..f1511c48216 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2117,7 +2117,7 @@ add_int_reg_note (rtx insn, enum reg_note kind, int datum) /* Add a register note like NOTE to INSN. */ void -add_shallow_copy_of_reg_note (rtx insn, rtx note) +add_shallow_copy_of_reg_note (rtx_insn *insn, rtx note) { if (GET_CODE (note) == INT_LIST) add_int_reg_note (insn, REG_NOTE_KIND (note), XINT (note, 0));