aboutsummaryrefslogtreecommitdiff
path: root/gcc/target-globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/target-globals.h')
-rw-r--r--gcc/target-globals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/target-globals.h b/gcc/target-globals.h
index b90f1415..b1458cc 100644
--- a/gcc/target-globals.h
+++ b/gcc/target-globals.h
@@ -30,6 +30,8 @@ extern struct target_expmed *this_target_expmed;
extern struct target_optabs *this_target_optabs;
extern struct target_libfuncs *this_target_libfuncs;
extern struct target_cfgloop *this_target_cfgloop;
+extern struct target_ira *this_target_ira;
+extern struct target_ira_int *this_target_ira_int;
struct GTY(()) target_globals {
struct target_flag_state *GTY((skip)) flag_state;
@@ -41,6 +43,8 @@ struct GTY(()) target_globals {
struct target_optabs *GTY((skip)) optabs;
struct target_libfuncs *libfuncs;
struct target_cfgloop *GTY((skip)) cfgloop;
+ struct target_ira *GTY((skip)) ira;
+ struct target_ira_int *GTY((skip)) ira_int;
};
extern struct target_globals default_target_globals;
@@ -59,6 +63,8 @@ restore_target_globals (struct target_globals *g)
this_target_optabs = g->optabs;
this_target_libfuncs = g->libfuncs;
this_target_cfgloop = g->cfgloop;
+ this_target_ira = g->ira;
+ this_target_ira_int = g->ira_int;
}
#endif