aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-01-10 21:40:14 +0000
committerNick Clifton <nickc@gcc.gnu.org>2001-01-10 21:40:14 +0000
commit414c4dc49c98c5b9bba72a22fe471a93f8c949c2 (patch)
treed33a69591d21d0e9be87be6a3ff5261606e9bca5 /gcc/function.c
parent5c5d1ea0c8c9faf670e045f24fbe53f5115d46da (diff)
downloadgcc-414c4dc49c98c5b9bba72a22fe471a93f8c949c2.zip
gcc-414c4dc49c98c5b9bba72a22fe471a93f8c949c2.tar.gz
gcc-414c4dc49c98c5b9bba72a22fe471a93f8c949c2.tar.bz2
Remove {save|restore}_machine_status.
Document {init|mark|free}_machine_status. From-SVN: r38882
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 133852e..d03f54b 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -129,14 +129,14 @@ int current_function_uses_only_leaf_regs;
assign_stack_local uses frame_pointer_rtx when this is nonzero. */
static int virtuals_instantiated;
-/* These variables hold pointers to functions to
- save and restore machine-specific data,
- in push_function_context and pop_function_context. */
+/* These variables hold pointers to functions to create and destroy
+ target specific, per-function data structures. */
void (*init_machine_status) PARAMS ((struct function *));
-void (*save_machine_status) PARAMS ((struct function *));
-void (*restore_machine_status) PARAMS ((struct function *));
-void (*mark_machine_status) PARAMS ((struct function *));
void (*free_machine_status) PARAMS ((struct function *));
+/* This variable holds a pointer to a function to register any
+ data items in the target specific, per-function data structure
+ that will need garbage collection. */
+void (*mark_machine_status) PARAMS ((struct function *));
/* Likewise, but for language-specific data. */
void (*init_lang_status) PARAMS ((struct function *));
@@ -358,8 +358,6 @@ push_function_context_to (context)
if (save_lang_status)
(*save_lang_status) (p);
- if (save_machine_status)
- (*save_machine_status) (p);
cfun = 0;
}
@@ -389,8 +387,6 @@ pop_function_context_from (context)
restore_emit_status (p);
- if (restore_machine_status)
- (*restore_machine_status) (p);
if (restore_lang_status)
(*restore_lang_status) (p);