aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 86d2c3c..9a9156a 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -440,6 +440,9 @@ struct function
/* tm.h can use this to store whatever it likes. */
struct machine_function *machine;
+ /* Language-specific code can use this to store whatever it likes. */
+ struct language_function *language;
+
/* For reorg. */
/* If some insns can be deferred to the delay slots of the epilogue, the
@@ -541,6 +544,10 @@ extern HOST_WIDE_INT get_func_frame_size PROTO((struct function *));
extern void (*save_machine_status) PROTO((struct function *));
extern void (*restore_machine_status) PROTO((struct function *));
+/* Likewise, but for language-specific data. */
+extern void (*save_lang_status) PROTO((struct function *));
+extern void (*restore_lang_status) PROTO((struct function *));
+
/* Save and restore status information for a nested function. */
extern void save_tree_status PROTO((struct function *, tree));
extern void restore_tree_status PROTO((struct function *, tree));