diff options
author | Jeff Law <law@gcc.gnu.org> | 1995-12-31 19:32:57 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1995-12-31 19:32:57 -0700 |
commit | 6cad67d2d0789487217a2091c2f14d48f9e1ad6b (patch) | |
tree | 6954fbd4d8694312315db4ec5b21e6a62873aec7 /gcc/hard-reg-set.h | |
parent | 6e81958a66749a62fdd4f50de26e52a10fa559da (diff) | |
download | gcc-6cad67d2d0789487217a2091c2f14d48f9e1ad6b.tar.gz |
hard-reg-set.h (losing_caller_save_reg_set): Declare.
* hard-reg-set.h (losing_caller_save_reg_set): Declare.
* regclass.c (losing_caller_save_reg_set): Define.
(init_reg_sets_1): Initialize losing_caller_save_reg_set.
* global.c (find_reg): Avoid caller-saving registers in
LOSING_CALLER_SAVE_REGS if it's defined.
* local-alloc.c (find_free_reg): Avoid caller-saving registers
in losing_caller_save_reg_set.
(CLASS_LIKELY_SPILLED_P): Delete definition. Moved into regs.h.
* regs.h (CLASS_LIKELY_SPILLED_P): Define if not already defined.
From-SVN: r10926
Diffstat (limited to 'gcc/hard-reg-set.h')
-rw-r--r-- | gcc/hard-reg-set.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h index 084785e0e51..b2bec47012b 100644 --- a/gcc/hard-reg-set.h +++ b/gcc/hard-reg-set.h @@ -211,6 +211,9 @@ extern char call_used_regs[FIRST_PSEUDO_REGISTER]; extern HARD_REG_SET call_used_reg_set; +/* Registers that we don't want to caller save. */ +extern HARD_REG_SET losing_caller_save_reg_set; + /* Indexed by hard register number, contains 1 for registers that are fixed use -- i.e. in fixed_regs -- or a function value return register or STRUCT_VALUE_REGNUM or STATIC_CHAIN_REGNUM. These are the |