aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-07-01 02:54:20 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-07-01 02:54:20 -0700
commitb79c52841bdf69b9788387c9d835d854de09dcb5 (patch)
treecb23537d10ab4a9a66cb83603753157467408971 /gcc/function.c
parentede1a3872913df59f3a1f4299ec5f6c7706d3b7b (diff)
downloadgcc-b79c52841bdf69b9788387c9d835d854de09dcb5.zip
gcc-b79c52841bdf69b9788387c9d835d854de09dcb5.tar.gz
gcc-b79c52841bdf69b9788387c9d835d854de09dcb5.tar.bz2
function.h (struct function): Remove x_function_call_count.
* function.h (struct function): Remove x_function_call_count. (function_call_count): Remove. * calls.c (expand_call): Don't set it. * integrate.c (copy_rtx_and_substitute): Likewise. * function.h (struct function): Remove x_cleanup_label. (cleanup_label): Remove. * stmt.c (expand_value_return): Don't use it. * function.c (free_after_compilation): Don't set it. (expand_function_start): Likewise. Remove parms_have_cleanups arg. * cfgexpand.c (tree_expand_cfg): Update call. * tree.h (expand_function_start): Update decl. From-SVN: r83966
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 7cfb1aa..aa6cdad 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -436,7 +436,6 @@ free_after_compilation (struct function *f)
f->return_rtx = NULL;
f->internal_arg_pointer = NULL;
f->x_nonlocal_goto_handler_labels = NULL;
- f->x_cleanup_label = NULL;
f->x_return_label = NULL;
f->x_naked_return_label = NULL;
f->x_save_expr_regs = NULL;
@@ -6310,7 +6309,7 @@ expand_pending_sizes (tree pending_sizes)
the function's parameters, which must be run at any return statement. */
void
-expand_function_start (tree subr, int parms_have_cleanups)
+expand_function_start (tree subr)
{
/* Make sure volatile mem refs aren't considered
valid operands of arithmetic insns. */
@@ -6323,14 +6322,6 @@ expand_function_start (tree subr, int parms_have_cleanups)
current_function_limit_stack
= (stack_limit_rtx != NULL_RTX && ! DECL_NO_LIMIT_STACK (subr));
- /* If the parameters of this function need cleaning up, get a label
- for the beginning of the code which executes those cleanups. This must
- be done before doing anything with return_label. */
- if (parms_have_cleanups)
- cleanup_label = gen_label_rtx ();
- else
- cleanup_label = 0;
-
/* Make the label for return statements to jump to. Do not special
case machines with special return instructions -- they will be
handled later during jump, ifcvt, or epilogue creation. */