diff options
author | aesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-02 22:20:52 +0000 |
---|---|---|
committer | aesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-02 22:20:52 +0000 |
commit | 4d8644f362f7ed31168e26a30d1c66e5c30e0b78 (patch) | |
tree | ceef32f2c29300b16504d1aaad31b7dd7eb7c9d5 /gcc/caller-save.c | |
parent | 0013707d64fd8e0f480c371c7f45673b4b9edd54 (diff) | |
download | gcc-4d8644f362f7ed31168e26a30d1c66e5c30e0b78.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151353 138bc75d-0d04-0410-961f-82ee72b054a4
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); |