Commit 3c6c67f8 by Kazu Hirata Committed by Kazu Hirata

regclass.c (n_non_fixed_regs): Remove.

	* regclass.c (n_non_fixed_regs): Remove.
	(init_reg_sets_1, globalize_reg): Remove all uses of
	n_non_fixed_regs.
	* hard-reg-set.h: Remove the extern for n_non_fixed_regs.

From-SVN: r111714
parent 22ec0cc8
2006-03-04 Kazu Hirata <kazu@codesourcery.com>
* regclass.c (n_non_fixed_regs): Remove.
(init_reg_sets_1, globalize_reg): Remove all uses of
n_non_fixed_regs.
* hard-reg-set.h: Remove the extern for n_non_fixed_regs.
2006-03-04 Kazu Hirata <kazu@codesourcery.com>
* rtlanal.c (insns_safe_to_move_p): Remove.
* rtl.h: Remove the prototype for insns_safe_to_move_p.
......
......@@ -474,10 +474,6 @@ extern enum reg_class reg_class_subunion[N_REG_CLASSES][N_REG_CLASSES];
extern enum reg_class reg_class_superunion[N_REG_CLASSES][N_REG_CLASSES];
/* Number of non-fixed registers. */
extern int n_non_fixed_regs;
/* Vector indexed by hardware reg giving its name. */
extern const char * reg_names[FIRST_PSEUDO_REGISTER];
......
......@@ -123,10 +123,6 @@ char call_fixed_regs[FIRST_PSEUDO_REGISTER];
HARD_REG_SET call_fixed_reg_set;
/* Number of non-fixed registers. */
int n_non_fixed_regs;
/* Indexed by hard register number, contains 1 for registers
that are being used for global register decls.
These must be exempt from ordinary flow analysis
......@@ -425,8 +421,6 @@ init_reg_sets_1 (void)
memcpy (call_fixed_regs, fixed_regs, sizeof call_fixed_regs);
n_non_fixed_regs = 0;
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
{
/* call_used_regs must include fixed_regs. */
......@@ -438,8 +432,6 @@ init_reg_sets_1 (void)
if (fixed_regs[i])
SET_HARD_REG_BIT (fixed_reg_set, i);
else
n_non_fixed_regs++;
if (call_used_regs[i])
SET_HARD_REG_BIT (call_used_reg_set, i);
......@@ -796,7 +788,6 @@ globalize_reg (int i)
#ifdef CALL_REALLY_USED_REGISTERS
call_really_used_regs[i] = 1;
#endif
n_non_fixed_regs--;
SET_HARD_REG_BIT (fixed_reg_set, i);
SET_HARD_REG_BIT (call_used_reg_set, i);
......
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