Commit aa424b01 by Kazu Hirata Committed by Kazu Hirata

tree.c (function_args_count): Remove.

	* tree.c (function_args_count): Remove.
	* tree.h: Remove the prototype for function_args_count.

From-SVN: r146312
parent 613a896b
2009-04-18 Kazu Hirata <kazu@codesourcery.com>
* tree.c (function_args_count): Remove.
* tree.h: Remove the prototype for function_args_count.
2009-04-18 Kazu Hirata <kazu@codesourcery.com>
* tree-iterator.c (expr_only): Remove.
* tree.h: Remove the prototype for expr_only.
......
......@@ -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. */
......
......@@ -4655,7 +4655,6 @@ extern tree create_artificial_label (void);
extern const char *get_name (tree);
extern bool stdarg_p (tree);
extern bool prototype_p (tree);
extern int function_args_count (tree);
extern bool auto_var_in_fn_p (const_tree, const_tree);
/* In gimplify.c */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment