From c826ae21755f71ba6607714f97fab37ae0cfacae Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 3 May 2001 16:14:34 +0000 Subject: 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 --- gcc/integrate.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/integrate.h') diff --git a/gcc/integrate.h b/gcc/integrate.h index 14606a6..52c3004 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; -- cgit v1.1