diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-12 18:54:17 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-12 18:54:17 +0000 |
commit | c3997e3d46be5d16e7ae76140e666d853bb537c9 (patch) | |
tree | 5eb3ab86331c6edc711e274c6b449087603a4829 /gcc/hard-reg-set.h | |
parent | 6ebe4c6978847bb027afb24b03e91aa4a850056e (diff) | |
download | gcc-c3997e3d46be5d16e7ae76140e666d853bb537c9.tar.gz |
gcc/
* defaults.h (MAX_MOVE_MAX, MIN_UNITS_PER_WORD): Define if not defined.
* libgcc2.c (MIN_UNITS_PER_WORD): Delete.
* hard-reg-set.h (target_hard_regs): Add x_no_caller_save_reg_set.
(no_caller_save_reg_set): Redefine as a macro.
* reload.h (target_reload): Add x_caller_save_initialized_p and
x_regno_save_mode.
(caller_save_initialized_p): Redefine as a macro.
* caller-save.c (caller_save_initialized_p, no_caller_save_reg_set)
(MAX_MOVE_MAX, MIN_UNITS_PER_WORD): Delete.
(regno_save_mode): Redefine as a macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162095 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hard-reg-set.h')
-rw-r--r-- | gcc/hard-reg-set.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h index c0379b3bea7..486a88a2ed8 100644 --- a/gcc/hard-reg-set.h +++ b/gcc/hard-reg-set.h @@ -582,11 +582,6 @@ hard_reg_set_iter_next (hard_reg_set_iterator *iter, unsigned *regno) extern char global_regs[FIRST_PSEUDO_REGISTER]; -/* Call used hard registers which can not be saved because there is no - insn for this. */ - -extern HARD_REG_SET no_caller_save_reg_set; - struct target_hard_regs { /* Indexed by hard register number, contains 1 for registers that are fixed use (stack pointer, pc, frame pointer, etc.;. @@ -622,6 +617,10 @@ struct target_hard_regs { with the local stack frame are safe, but scant others. */ HARD_REG_SET x_regs_invalidated_by_call; + /* Call used hard registers which can not be saved because there is no + insn for this. */ + HARD_REG_SET x_no_caller_save_reg_set; + /* Table of register numbers in the order in which to try to use them. */ int x_reg_alloc_order[FIRST_PSEUDO_REGISTER]; @@ -674,6 +673,8 @@ extern struct target_hard_regs *this_target_hard_regs; (this_target_hard_regs->x_call_fixed_reg_set) #define regs_invalidated_by_call \ (this_target_hard_regs->x_regs_invalidated_by_call) +#define no_caller_save_reg_set \ + (this_target_hard_regs->x_no_caller_save_reg_set) #define reg_alloc_order \ (this_target_hard_regs->x_reg_alloc_order) #define inv_reg_alloc_order \ |