diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-04 20:04:23 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-04 20:04:23 +0000 |
commit | 2724c347455a895759d315d4d690cf6366ea6a0a (patch) | |
tree | df19807c7dc1b707b7af8cba488361e27603011b /gcc/regclass.c | |
parent | 50d82c3cb8c40b4556cdf3c4e7d49e057f28ac3e (diff) | |
download | gcc-2724c347455a895759d315d4d690cf6366ea6a0a.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r-- | gcc/regclass.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c index 7c50d8adf1f..e12e1ac85bd 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -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); |