diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-04-08 17:09:20 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-04-08 17:09:20 +0000 |
commit | 5acbdd12d91805fb5c66d125eff64425d649ea7c (patch) | |
tree | 882423c97bd0136c1fe23c6c26b2fb5d1c7d4057 /gcc/function.c | |
parent | da25d93e4605571413c85f64962966cadeb59406 (diff) | |
download | gcc-5acbdd12d91805fb5c66d125eff64425d649ea7c.zip gcc-5acbdd12d91805fb5c66d125eff64425d649ea7c.tar.gz gcc-5acbdd12d91805fb5c66d125eff64425d649ea7c.tar.bz2 |
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
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 13 |
1 files changed, 1 insertions, 12 deletions
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; |