summaryrefslogtreecommitdiff
path: root/gcc/target-globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/target-globals.h')
-rw-r--r--gcc/target-globals.h3
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