diff options
author | Anatoly Sokolov <aesok@post.ru> | 2009-09-03 02:20:52 +0400 |
---|---|---|
committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2009-09-03 02:20:52 +0400 |
commit | adee59ae5f69e596fa0d27149900555eeaeb6a7f (patch) | |
tree | ceef32f2c29300b16504d1aaad31b7dd7eb7c9d5 /gcc/caller-save.c | |
parent | 6330e1d9fedc81a1d81546012005e15c840e678c (diff) | |
download | gcc-adee59ae5f69e596fa0d27149900555eeaeb6a7f.tar.gz |
hard-reg-set.h (call_fixed_regs): Remove.
* hard-reg-set.h (call_fixed_regs): Remove.
* reginfo.c (call_fixed_regs): Remove.
(init_reg_sets_1): Remove initialization of call_fixed_regs.
(globalize_reg): Don't use call_fixed_regs.
* caller-save.c (init_caller_save): Use call_fixed_reg_set instead of
call_fixed_regs.
From-SVN: r151353
Diffstat (limited to 'gcc/caller-save.c')
-rw-r--r-- | gcc/caller-save.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/caller-save.c b/gcc/caller-save.c index 778a3edeec4..377ffad5e55 100644 --- a/gcc/caller-save.c +++ b/gcc/caller-save.c @@ -215,7 +215,8 @@ init_caller_save (void) for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) { - if (call_used_regs[i] && ! call_fixed_regs[i]) + if (call_used_regs[i] + && !TEST_HARD_REG_BIT (call_fixed_reg_set, i)) { for (j = 1; j <= MOVE_MAX_WORDS; j++) { @@ -223,7 +224,6 @@ init_caller_save (void) VOIDmode); if (regno_save_mode[i][j] == VOIDmode && j == 1) { - call_fixed_regs[i] = 1; SET_HARD_REG_BIT (call_fixed_reg_set, i); } } @@ -291,7 +291,6 @@ init_caller_save (void) regno_save_mode[i][j] = VOIDmode; if (j == 1) { - call_fixed_regs[i] = 1; SET_HARD_REG_BIT (call_fixed_reg_set, i); if (call_used_regs[i]) SET_HARD_REG_BIT (no_caller_save_reg_set, i); |