Commit cf0fa607 by Kazu Hirata Committed by Kazu Hirata

reload1.c (reload_startobj, [...]): Make them static.

	* reload1.c (reload_startobj, reload_firstobj,
	something_needs_operands_changed, reload_inherited,
	reload_inheritance_insn, reload_override_in,
	reload_spill_index): Make them static.

From-SVN: r96014
parent fa8718d7
...@@ -8,6 +8,11 @@ ...@@ -8,6 +8,11 @@
* flow.c (regs_live_at_setjmp): Make it static. * flow.c (regs_live_at_setjmp): Make it static.
* flow.h: Remove the corresponding prototype. * flow.h: Remove the corresponding prototype.
* reload1.c (reload_startobj, reload_firstobj,
something_needs_operands_changed, reload_inherited,
reload_inheritance_insn, reload_override_in,
reload_spill_index): Make them static.
2005-03-07 David Billinghurst <David.Billinghurst@riotinto.com> 2005-03-07 David Billinghurst <David.Billinghurst@riotinto.com>
* config/i386/cygwin1.c(mingw_scan): Use xstrdup in calls to putenv. * config/i386/cygwin1.c(mingw_scan): Use xstrdup in calls to putenv.
......
...@@ -272,11 +272,11 @@ struct obstack reload_obstack; ...@@ -272,11 +272,11 @@ struct obstack reload_obstack;
/* Points to the beginning of the reload_obstack. All insn_chain structures /* Points to the beginning of the reload_obstack. All insn_chain structures
are allocated first. */ are allocated first. */
char *reload_startobj; static char *reload_startobj;
/* The point after all insn_chain structures. Used to quickly deallocate /* The point after all insn_chain structures. Used to quickly deallocate
memory allocated in copy_reloads during calculate_needs_all_insns. */ memory allocated in copy_reloads during calculate_needs_all_insns. */
char *reload_firstobj; static char *reload_firstobj;
/* This points before all local rtl generated by register elimination. /* This points before all local rtl generated by register elimination.
Used to quickly free all memory after processing one insn. */ Used to quickly free all memory after processing one insn. */
...@@ -615,7 +615,7 @@ replace_pseudos_in (rtx *loc, enum machine_mode mem_mode, rtx usage) ...@@ -615,7 +615,7 @@ replace_pseudos_in (rtx *loc, enum machine_mode mem_mode, rtx usage)
/* Set during calculate_needs if an insn needs register elimination. */ /* Set during calculate_needs if an insn needs register elimination. */
static int something_needs_elimination; static int something_needs_elimination;
/* Set during calculate_needs if an insn needs an operand changed. */ /* Set during calculate_needs if an insn needs an operand changed. */
int something_needs_operands_changed; static int something_needs_operands_changed;
/* Nonzero means we couldn't get enough spill regs. */ /* Nonzero means we couldn't get enough spill regs. */
static int failure; static int failure;
...@@ -4666,19 +4666,19 @@ reloads_conflict (int r1, int r2) ...@@ -4666,19 +4666,19 @@ reloads_conflict (int r1, int r2)
/* Indexed by reload number, 1 if incoming value /* Indexed by reload number, 1 if incoming value
inherited from previous insns. */ inherited from previous insns. */
char reload_inherited[MAX_RELOADS]; static char reload_inherited[MAX_RELOADS];
/* For an inherited reload, this is the insn the reload was inherited from, /* For an inherited reload, this is the insn the reload was inherited from,
if we know it. Otherwise, this is 0. */ if we know it. Otherwise, this is 0. */
rtx reload_inheritance_insn[MAX_RELOADS]; static rtx reload_inheritance_insn[MAX_RELOADS];
/* If nonzero, this is a place to get the value of the reload, /* If nonzero, this is a place to get the value of the reload,
rather than using reload_in. */ rather than using reload_in. */
rtx reload_override_in[MAX_RELOADS]; static rtx reload_override_in[MAX_RELOADS];
/* For each reload, the hard register number of the register used, /* For each reload, the hard register number of the register used,
or -1 if we did not need a register for this reload. */ or -1 if we did not need a register for this reload. */
int reload_spill_index[MAX_RELOADS]; static int reload_spill_index[MAX_RELOADS];
/* Subroutine of free_for_value_p, used to check a single register. /* Subroutine of free_for_value_p, used to check a single register.
START_REGNO is the starting regno of the full reload register START_REGNO is the starting regno of the full reload register
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment