diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-12-18 22:42:41 +0000 |
---|---|---|
committer | Jeffrey A Law <law@cygnus.com> | 1997-12-18 22:42:41 +0000 |
commit | 91e8d583020572b53e48d930c910d8a637d15115 (patch) | |
tree | 070f1def188c90a7cf968b88a5a1f1a8d66b386d /gcc/integrate.h | |
parent | 00edd08149ea0d61b18f460bfc785ff4b082fc8a (diff) |
* 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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@17139 138bc75d-0d04-0410-961f-82ee72b054a4
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. */ |