diff options
author | Jeff Law <law@gcc.gnu.org> | 1997-12-18 15:42:41 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-12-18 15:42:41 -0700 |
commit | 1f3d3a31617991a3ded514cd78e0c7dae081390c (patch) | |
tree | 070f1def188c90a7cf968b88a5a1f1a8d66b386d /gcc/integrate.h | |
parent | 6ba4439c3b168c79fb4a9eed9e6491f39752b57d (diff) | |
download | gcc-1f3d3a31617991a3ded514cd78e0c7dae081390c.tar.gz |
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
Diffstat (limited to 'gcc/integrate.h')
-rw-r--r-- | gcc/integrate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/integrate.h b/gcc/integrate.h index b2acf5e5c1d..f0c46ff1ddc 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. */ |