aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-09 18:55:37 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-09 18:55:37 +0000
commit0a8a198ceb46752b7b7e8f3f7b259347e4ba45b6 (patch)
treef84e1f0ecc0286b75e180998f1568a69a03904ce /gcc/function.h
parent1814b96be23b7a080f89c548287e4a311b6b96b6 (diff)
downloadgcc-0a8a198ceb46752b7b7e8f3f7b259347e4ba45b6.zip
gcc-0a8a198ceb46752b7b7e8f3f7b259347e4ba45b6.tar.gz
gcc-0a8a198ceb46752b7b7e8f3f7b259347e4ba45b6.tar.bz2
function.h (free_after_compilation): Remove decl parameter.
* function.h (free_after_compilation): Remove decl parameter. (free_varasm_status0: Likewise. (free_emit_status): Likewise. (free_stmt_status): Likewise. (free_after_compilation): Likewise. (init_lang_status): New variable. (free_lang_status): Likewise. * emit-rtl.c (free_emit_status): Make decl parameter implicit. * function.c (init_lang_status): New variable. (free_lang_status): Likewise. (push_function_context_to): Don't set function::decl here. (free_after_copmilation): Make decl parameter implicit. Call free_lang_status if defined. (prepare_function_start): Call init_lang_status if defined. (init_function_start): Set function::decl here. * profile.c (output_func_start_profiler): Don't call pushdecl until we've actually started the function. * stmt.c (free_stmt_status): Make decl parameter implicit. * toplev.c (rest_of_compilation): Don't pass decl to free_after_compilation. * varasm.c (free_varasm_status): Likewise. From-SVN: r29239
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 76ee362..789fdbf 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -541,24 +541,22 @@ extern void (*save_machine_status) PROTO((struct function *));
extern void (*restore_machine_status) PROTO((struct function *));
/* Likewise, but for language-specific data. */
+extern void (*init_lang_status) PROTO((struct function *));
extern void (*mark_lang_status) PROTO((struct function *));
extern void (*save_lang_status) PROTO((struct function *));
extern void (*restore_lang_status) PROTO((struct function *));
+extern void (*free_lang_status) PROTO((struct function *));
/* Save and restore status information for a nested function. */
extern void save_tree_status PROTO((struct function *));
extern void restore_tree_status PROTO((struct function *));
extern void restore_emit_status PROTO((struct function *));
-extern void free_after_compilation PROTO((struct function *,
- tree));
+extern void free_after_compilation PROTO((struct function *));
extern void init_varasm_status PROTO((struct function *));
-extern void free_varasm_status PROTO((struct function *,
- tree));
-extern void free_emit_status PROTO((struct function *,
- tree));
-extern void free_stmt_status PROTO((struct function *,
- tree));
+extern void free_varasm_status PROTO((struct function *));
+extern void free_emit_status PROTO((struct function *));
+extern void free_stmt_status PROTO((struct function *));
extern rtx get_first_block_beg PROTO((void));
extern void init_virtual_regs PROTO((struct emit_status *));