summaryrefslogtreecommitdiffstats
path: root/gcc/integrate.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-03 16:14:34 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-03 16:14:34 +0000
commit62b735c8b5c580f7bda1bc81e248c7d5b5e98729 (patch)
treed15e26ef2c3c3f119a14c3a43cc414d9612c5d2e /gcc/integrate.h
parentd2c1dfe0efff6d9a0128839136f00084f478c26a (diff)
downloadppe42-gcc-62b735c8b5c580f7bda1bc81e248c7d5b5e98729.tar.gz
ppe42-gcc-62b735c8b5c580f7bda1bc81e248c7d5b5e98729.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41791 138bc75d-0d04-0410-961f-82ee72b054a4
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;
OpenPOWER on IntegriCloud