summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-16 16:08:04 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-16 16:08:04 +0000
commit5859ee980d2e3e19ff417906a7ba7b1b3b2547bf (patch)
tree3ebbcbf49394dbd129b5e797695277272a56d921 /gcc/rtl.h
parent8f6c49f5439f316279d260c2c1bb0d478cd19dcb (diff)
downloadgcc-5859ee980d2e3e19ff417906a7ba7b1b3b2547bf.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146201 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index bdb41d62b55..de9e7119dd5 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -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);