diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-09 17:31:06 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-09 17:31:06 +0000 |
commit | bf9a0db3c8ce0aeea0a5371219eebc9323066284 (patch) | |
tree | 43cc463e7cea0d25e71f2a0257aed1c7fddb0c78 /gcc/reload1.c | |
parent | 10015a27fd82667b0b756059bd67e9d6fb330f0e (diff) | |
download | gcc-bf9a0db3c8ce0aeea0a5371219eebc9323066284.zip gcc-bf9a0db3c8ce0aeea0a5371219eebc9323066284.tar.gz gcc-bf9a0db3c8ce0aeea0a5371219eebc9323066284.tar.bz2 |
reload1.c (reloads_conflict, gen_reload): Make them static.
* reload1.c (reloads_conflict, gen_reload): Make them static.
* reload.h: Remove the corresponding prototypes.
From-SVN: r90350
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index d70fb29..c38ec99 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -430,6 +430,8 @@ static rtx inc_for_reload (rtx, rtx, rtx, int); static void add_auto_inc_notes (rtx, rtx); #endif static void copy_eh_notes (rtx, rtx); +static int reloads_conflict (int, int); +static rtx gen_reload (rtx, rtx, int, enum reload_type); /* Initialize the reload pass once per compilation. */ @@ -4593,7 +4595,7 @@ reload_reg_reaches_end_p (unsigned int regno, int opnum, enum reload_type type) This function uses the same algorithm as reload_reg_free_p above. */ -int +static int reloads_conflict (int r1, int r2) { enum reload_type r1_type = rld[r1].when_needed; @@ -7334,7 +7336,7 @@ emit_reload_insns (struct insn_chain *chain) Returns first insn emitted. */ -rtx +static rtx gen_reload (rtx out, rtx in, int opnum, enum reload_type type) { rtx last = get_last_insn (); |