From 5acbdd12d91805fb5c66d125eff64425d649ea7c Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 8 Apr 2005 17:09:20 +0000 Subject: function.c (push_function_context_to): Don't set contains_functions. * function.c (push_function_context_to): Don't set contains_functions. * function.h (function): Remove contains_functions. (current_function_contains_functions): Remove. From-SVN: r97837 --- gcc/function.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'gcc/function.c') diff --git a/gcc/function.c b/gcc/function.c index 9db8ae0..45e2f4c 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -242,21 +242,10 @@ find_function_data (tree decl) variables. */ void -push_function_context_to (tree context) +push_function_context_to (tree context ATTRIBUTE_UNUSED) { struct function *p; - if (context) - { - if (context == current_function_decl) - cfun->contains_functions = 1; - else - { - struct function *containing = find_function_data (context); - containing->contains_functions = 1; - } - } - if (cfun == 0) init_dummy_function_start (); p = cfun; -- cgit v1.1