From 0a8a198ceb46752b7b7e8f3f7b259347e4ba45b6 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 9 Sep 1999 18:55:37 +0000 Subject: 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 --- gcc/toplev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/toplev.c') diff --git a/gcc/toplev.c b/gcc/toplev.c index 483db33..29c4a3c 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -4469,7 +4469,7 @@ rest_of_compilation (decl) init_recog_no_volatile (); /* We're done with this function. Free up memory if we can. */ - free_after_compilation (current_function, decl); + free_after_compilation (current_function); current_function = 0; -- cgit v1.1