From 1f3d3a31617991a3ded514cd78e0c7dae081390c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 18 Dec 1997 15:42:41 -0700 Subject: integrate.c (get_label_from_map): New function. * integrate.c (get_label_from_map): New function. (expand_inline_function): Use it. Initialize the label_map to NULL_RTX instead of gen_label_rtx. (copy_rtx_and_substitute): Use get_label_from_map. * integrate.h (get_label_from_map): New function. (set_label_from_map): New macro. * unroll.c (unroll_loop): Use them. (copy_loop_body): Ditto. From-SVN: r17139 --- gcc/integrate.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/integrate.h') diff --git a/gcc/integrate.h b/gcc/integrate.h index b2acf5e..f0c46ff 100644 --- a/gcc/integrate.h +++ b/gcc/integrate.h @@ -122,6 +122,13 @@ extern void try_constants PROTO((rtx, struct inline_remap *)); extern void mark_stores PROTO((rtx, rtx)); +/* Return the label indicated. */ +extern rtx get_label_from_map PROTO((struct inline_remap *, int)); + +/* Set the label indicated. */ +#define set_label_in_map(map, i, x) \ + ((map)->label_map[i] = (x)) + /* Unfortunately, we need a global copy of const_equiv map for communication with a function called from note_stores. Be *very* careful that this is used properly in the presence of recursion. */ -- cgit v1.1