diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2016-11-21 06:16:13 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2016-11-21 06:16:13 +0000 |
commit | 2059d0e97dc98988ec5edd04cb80ed25ff1c2119 (patch) | |
tree | 36f43989cea0b001e8f5fb0f4c8530849a46af88 /gcc | |
parent | 87ac59a062abf0f2a9276fb0123f1d904acadc67 (diff) | |
download | gcc-2059d0e97dc98988ec5edd04cb80ed25ff1c2119.zip gcc-2059d0e97dc98988ec5edd04cb80ed25ff1c2119.tar.gz gcc-2059d0e97dc98988ec5edd04cb80ed25ff1c2119.tar.bz2 |
make add_int_reg_note take rtx_insn *
gcc/ChangeLog:
2016-11-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* rtl.h: Adjust prototype.
* rtlanal.c (add_int_reg_note): Change argument type to rtx_insn *.
From-SVN: r242656
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/rtl.h | 2 | ||||
-rw-r--r-- | gcc/rtlanal.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb54d76..7be3462 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2016-11-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> + * rtl.h: Adjust prototype. + * rtlanal.c (add_int_reg_note): Change argument type to rtx_insn *. + +2016-11-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> + * function.c (contains): Change argument type to rtx_insn *. (prologue_contains): Likewise. (epilogue_contains): Likewise. @@ -3017,7 +3017,7 @@ extern int find_reg_fusage (const_rtx, enum rtx_code, const_rtx); 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_int_reg_note (rtx_insn *, enum reg_note, int); extern void add_shallow_copy_of_reg_note (rtx_insn *, rtx); extern rtx duplicate_reg_note (rtx); extern void remove_note (rtx_insn *, const_rtx); diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 403769e..7467c4e 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2288,7 +2288,7 @@ add_reg_note (rtx insn, enum reg_note kind, rtx datum) /* Add an integer register note with kind KIND and datum DATUM to INSN. */ void -add_int_reg_note (rtx insn, enum reg_note kind, int datum) +add_int_reg_note (rtx_insn *insn, enum reg_note kind, int datum) { gcc_checking_assert (int_reg_note_p (kind)); REG_NOTES (insn) = gen_rtx_INT_LIST ((machine_mode) kind, |