aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2009-04-18 11:48:19 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2009-04-18 11:48:19 +0000
commitaa424b01a1291050106737b4dded3de16da986b6 (patch)
tree3ed439ad4c47d4d271b9d68c28f8cd9a445c8e52 /gcc/tree.c
parent613a896b5802a4825303b417974cea6a68b84030 (diff)
downloadgcc-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.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index ac6c31e..9fe6db3 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -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. */