diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2009-04-18 11:48:19 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2009-04-18 11:48:19 +0000 |
commit | aa424b01a1291050106737b4dded3de16da986b6 (patch) | |
tree | 3ed439ad4c47d4d271b9d68c28f8cd9a445c8e52 /gcc/tree.c | |
parent | 613a896b5802a4825303b417974cea6a68b84030 (diff) | |
download | gcc-aa424b01a1291050106737b4dded3de16da986b6.zip gcc-aa424b01a1291050106737b4dded3de16da986b6.tar.gz gcc-aa424b01a1291050106737b4dded3de16da986b6.tar.bz2 |
tree.c (function_args_count): Remove.
* tree.c (function_args_count): Remove.
* tree.h: Remove the prototype for function_args_count.
From-SVN: r146312
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -9071,26 +9071,6 @@ prototype_p (tree fntype) return (t != NULL_TREE); } -/* Return the number of arguments that a function has. */ - -int -function_args_count (tree fntype) -{ - function_args_iterator args_iter; - tree t; - int num = 0; - - if (fntype) - { - FOREACH_FUNCTION_ARGS(fntype, t, args_iter) - { - num++; - } - } - - return num; -} - /* If BLOCK is inlined from an __attribute__((__artificial__)) routine, return pointer to location from where it has been called. */ |