diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-09 17:29:03 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-09 17:29:03 +0000 |
commit | 10015a27fd82667b0b756059bd67e9d6fb330f0e (patch) | |
tree | f6f502726a533f7df49f2d086800ec7d30fd4712 /gcc/reload.c | |
parent | c75d6010b052d367dbd4b53c7615e09cf4f1bf5a (diff) | |
download | gcc-10015a27fd82667b0b756059bd67e9d6fb330f0e.zip gcc-10015a27fd82667b0b756059bd67e9d6fb330f0e.tar.gz gcc-10015a27fd82667b0b756059bd67e9d6fb330f0e.tar.bz2 |
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
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 66894dc..c56a499 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -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; |