sparc-protos.h (sparc_va_arg): Remove.

* config/sparc/sparc-protos.h (sparc_va_arg): Remove.
        * config/sparc/sparc.c (sparc_gimplify_va_arg): Mark static.

From-SVN: r84356
This commit is contained in:
Richard Henderson 2004-07-09 03:04:34 -07:00 committed by Richard Henderson
parent 5fac2ed26b
commit 35652573d3
3 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2004-07-09 Richard Henderson <rth@redhat.com>
* config/sparc/sparc-protos.h (sparc_va_arg): Remove.
* config/sparc/sparc.c (sparc_gimplify_va_arg): Mark static.
* config/sh/sh-protos.h (sh_va_arg): Remove.
* config/sh/sh.c (TARGET_GIMPLIFY_VA_ARG_EXPR): New.
(sh_gimplify_va_arg_expr): Rewrite from sh_va_arg.

View File

@ -38,7 +38,6 @@ extern int function_arg_pass_by_reference (const CUMULATIVE_ARGS *,
extern void init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree);
extern void sparc_va_start (tree, rtx);
#endif
extern struct rtx_def *sparc_va_arg (tree, tree);
extern unsigned long sparc_type_code (tree);
#ifdef ARGS_SIZE_RTX
/* expr.h defines ARGS_SIZE_RTX and `enum direction' */

View File

@ -5816,7 +5816,7 @@ sparc_va_start (tree valist, rtx nextarg)
/* Implement `va_arg' for stdarg. */
tree
static tree
sparc_gimplify_va_arg (tree valist, tree type, tree *pre_p, tree *post_p)
{
HOST_WIDE_INT size, rsize, align;