diff options
author | Ian Lance Taylor <iant@google.com> | 2009-04-16 16:08:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-04-16 16:08:04 +0000 |
commit | efc0b2bd809d65e812b3022623b5e5adbc681ba2 (patch) | |
tree | 3ebbcbf49394dbd129b5e797695277272a56d921 /gcc/rtl.h | |
parent | 6080348f0a75caa10df4208617d9247d56e85329 (diff) | |
download | gcc-efc0b2bd809d65e812b3022623b5e5adbc681ba2.zip gcc-efc0b2bd809d65e812b3022623b5e5adbc681ba2.tar.gz gcc-efc0b2bd809d65e812b3022623b5e5adbc681ba2.tar.bz2 |
rtlanal.c (alloc_reg_note): New function, broken out of add_reg_note.
* rtlanal.c (alloc_reg_note): New function, broken out of
add_reg_note.
(add_reg_note): Call alloc_reg_note.
* rtl.h (alloc_reg_note): Declare.
* combine.c (try_combine): Use alloc_reg_note.
(recog_for_combine, move_deaths): Likewise.
(distribute_notes): Use alloc_reg_note and add_reg_note.
* haifa-sched.c (sched_create_recovery_edges): Use add_reg_note.
* combine-stack-adj.c (adjust_frame_related_expr): Likewise.
* reload1.c (eliminate_regs_1): Use alloc_reg_note.
From-SVN: r146201
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1759,6 +1759,7 @@ extern rtx find_reg_equal_equiv_note (const_rtx); extern rtx find_constant_src (const_rtx); 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 remove_note (rtx, const_rtx); extern void remove_reg_equal_equiv_notes (rtx); |