summaryrefslogtreecommitdiff
path: root/gcc/integrate.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-18 22:42:41 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-18 22:42:41 +0000
commitc3dfa4e8f593c2a1a43178825a1013edbf4f009c (patch)
tree070f1def188c90a7cf968b88a5a1f1a8d66b386d /gcc/integrate.h
parent71f6c349ca12779d8734a626ad61de6515cb93a4 (diff)
downloadgcc-c3dfa4e8f593c2a1a43178825a1013edbf4f009c.tar.gz
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17139 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/integrate.h')
-rw-r--r--gcc/integrate.h7
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. */