reload.c (refers_to_mem_for_reload_p, [...]): Make them static.
* reload.c (refers_to_mem_for_reload_p, refers_to_regno_for_reload_p): Make them static. * reload.h: Remove the corresponding prototypes. From-SVN: r90349
This commit is contained in:
parent
c75d6010b0
commit
10015a27fd
|
@ -1,3 +1,9 @@
|
|||
2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* reload.c (refers_to_mem_for_reload_p,
|
||||
refers_to_regno_for_reload_p): Make them static.
|
||||
* reload.h: Remove the corresponding prototypes.
|
||||
|
||||
2004-11-09 James A. Morrison <phython@gcc.gnu.org>
|
||||
Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
|
|
|
@ -271,6 +271,9 @@ static rtx find_reloads_subreg_address (rtx, int, int, enum reload_type,
|
|||
int, rtx);
|
||||
static void copy_replacements_1 (rtx *, rtx *, int);
|
||||
static int find_inc_amount (rtx, rtx);
|
||||
static int refers_to_mem_for_reload_p (rtx);
|
||||
static int refers_to_regno_for_reload_p (unsigned int, unsigned int,
|
||||
rtx, rtx *);
|
||||
|
||||
#ifdef HAVE_SECONDARY_RELOADS
|
||||
|
||||
|
@ -6171,7 +6174,7 @@ find_replacement (rtx *loc)
|
|||
This is similar to refers_to_regno_p in rtlanal.c except that we
|
||||
look at equivalences for pseudos that didn't get hard registers. */
|
||||
|
||||
int
|
||||
static int
|
||||
refers_to_regno_for_reload_p (unsigned int regno, unsigned int endregno,
|
||||
rtx x, rtx *loc)
|
||||
{
|
||||
|
@ -6364,7 +6367,7 @@ reg_overlap_mentioned_for_reload_p (rtx x, rtx in)
|
|||
/* Return nonzero if anything in X contains a MEM. Look also for pseudo
|
||||
registers. */
|
||||
|
||||
int
|
||||
static int
|
||||
refers_to_mem_for_reload_p (rtx x)
|
||||
{
|
||||
const char *fmt;
|
||||
|
|
10
gcc/reload.h
10
gcc/reload.h
|
@ -308,19 +308,9 @@ extern void move_replacements (rtx *x, rtx *y);
|
|||
Otherwise, return *LOC. */
|
||||
extern rtx find_replacement (rtx *);
|
||||
|
||||
/* Return nonzero if register in range [REGNO, ENDREGNO)
|
||||
appears either explicitly or implicitly in X
|
||||
other than being stored into. */
|
||||
extern int refers_to_regno_for_reload_p (unsigned int, unsigned int,
|
||||
rtx, rtx *);
|
||||
|
||||
/* Nonzero if modifying X will affect IN. */
|
||||
extern int reg_overlap_mentioned_for_reload_p (rtx, rtx);
|
||||
|
||||
/* Return nonzero if anything in X contains a MEM. Look also for pseudo
|
||||
registers. */
|
||||
extern int refers_to_mem_for_reload_p (rtx);
|
||||
|
||||
/* Check the insns before INSN to see if there is a suitable register
|
||||
containing the same value as GOAL. */
|
||||
extern rtx find_equiv_reg (rtx, rtx, enum reg_class, int, short *,
|
||||
|
|
Loading…
Reference in New Issue