diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-12 18:53:59 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-12 18:53:59 +0000 |
commit | 5f00384a2df620694cde858c379b6fa5060f3692 (patch) | |
tree | 81833811781814bd7dc33b609cd55e47bc56fc7e /gcc/target-globals.h | |
parent | eb2c25b54b230c5efbaf84075ed139a8c5508883 (diff) | |
download | gcc-5f00384a2df620694cde858c379b6fa5060f3692.tar.gz |
gcc/
* Makefile.in (target-globals.o): Depend on reload.h.
* reload.h (target_reload): New structure.
(default_target_reload): Declare.
(this_target_reload): Declare as a variable or define as a macro.
(indirect_symref_ok, double_reg_address_ok): Redefine as macros.
* reload1.c (default_target_reload): New variable
(this_target_reload): New conditional variable.
(indirect_symref_ok, double_reg_address_ok): Delete.
(spill_indirect_levels): Redefine as a macro.
* target-globals.h (this_target_reload): Declare.
(target_globals): Add a reload field.
(restore_target_globals): Copy the reload field to
this_target_reload.
* target-globals.c: Include hard-reg-set.h.
(default_target_globals): Initialize the reload field.
(save_target_globals): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162093 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target-globals.h')
-rw-r--r-- | gcc/target-globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target-globals.h b/gcc/target-globals.h index 913c5120147..677aa94dddf 100644 --- a/gcc/target-globals.h +++ b/gcc/target-globals.h @@ -25,12 +25,14 @@ extern struct target_flag_state *this_target_flag_state; extern struct target_regs *this_target_regs; extern struct target_rtl *this_target_rtl; extern struct target_hard_regs *this_target_hard_regs; +extern struct target_reload *this_target_reload; struct GTY(()) target_globals { struct target_flag_state *GTY((skip)) flag_state; struct target_regs *GTY((skip)) regs; struct target_rtl *rtl; struct target_hard_regs *GTY((skip)) hard_regs; + struct target_reload *GTY((skip)) reload; }; extern struct target_globals default_target_globals; @@ -44,6 +46,7 @@ restore_target_globals (struct target_globals *g) this_target_regs = g->regs; this_target_rtl = g->rtl; this_target_hard_regs = g->hard_regs; + this_target_reload = g->reload; } #endif |