diff options
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 a733aa52b89..f8db59c1827 100644 --- a/gcc/target-globals.h +++ b/gcc/target-globals.h @@ -23,10 +23,12 @@ along with GCC; see the file COPYING3. If not see #if SWITCHABLE_TARGET extern struct target_flag_state *this_target_flag_state; extern struct target_regs *this_target_regs; +extern struct target_rtl *this_target_rtl; struct GTY(()) target_globals { struct target_flag_state *GTY((skip)) flag_state; struct target_regs *GTY((skip)) regs; + struct target_rtl *rtl; }; extern struct target_globals default_target_globals; @@ -38,6 +40,7 @@ restore_target_globals (struct target_globals *g) { this_target_flag_state = g->flag_state; this_target_regs = g->regs; + this_target_rtl = g->rtl; } #endif |