summaryrefslogtreecommitdiff
path: root/gcc/integrate.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-05-03 16:14:34 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-05-03 16:14:34 +0000
commitc826ae21755f71ba6607714f97fab37ae0cfacae (patch)
treed15e26ef2c3c3f119a14c3a43cc414d9612c5d2e /gcc/integrate.h
parent371d5d2ef8677d06f8897bfd04bbf3ca0803fca5 (diff)
downloadgcc-c826ae21755f71ba6607714f97fab37ae0cfacae.tar.gz
integrate.h (struct inline_remap): Add leaf_reg_map table.
* integrate.h (struct inline_remap): Add leaf_reg_map table. * integrate.c (expand_inline_function): Use xcalloc to allocate memory. (copy_rtx_and_substitute): Use the leaf_reg_map for leaf registers. From-SVN: r41791
Diffstat (limited to 'gcc/integrate.h')
-rw-r--r--gcc/integrate.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/integrate.h b/gcc/integrate.h
index 14606a6c1b6..52c300424fa 100644
--- a/gcc/integrate.h
+++ b/gcc/integrate.h
@@ -1,5 +1,5 @@
/* Function integration definitions for GNU C-Compiler
- Copyright (C) 1990, 1995, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1990, 1995, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -47,6 +47,10 @@ struct inline_remap
/* Mapping from old registers to new registers.
It is allocated and deallocated in `expand_inline_function' */
rtx *reg_map;
+#if defined (LEAF_REGISTERS) && defined (LEAF_REG_REMAP)
+ /* Mapping from old leaf registers to new leaf registers. */
+ rtx leaf_reg_map[FIRST_PSEUDO_REGISTER][NUM_MACHINE_MODES];
+#endif
/* Mapping from old code-labels to new code-labels.
The first element of this map is label_map[min_labelno]. */
rtx *label_map;