Commit 85d53c1d by Richard Henderson Committed by Richard Henderson

xtensa-protos.h (xtensa_va_arg): Remove.

        * config/xtensa/xtensa-protos.h (xtensa_va_arg): Remove.
        * config/xtensa/xtensa.c (TARGET_GIMPLIFY_VA_ARG_EXPR): New.
        (xtensa_gimplify_va_arg_expr): Rewrite from xtensa_va_arg.
        * config/xtensa/xtensa.h (EXPAND_BUILTIN_VA_ARG): Remove.

From-SVN: r84360
parent a900345f
2004-07-09 Richard Henderson <rth@redhat.com> 2004-07-09 Richard Henderson <rth@redhat.com>
* config/xtensa/xtensa-protos.h (xtensa_va_arg): Remove.
* config/xtensa/xtensa.c (TARGET_GIMPLIFY_VA_ARG_EXPR): New.
(xtensa_gimplify_va_arg_expr): Rewrite from xtensa_va_arg.
* config/xtensa/xtensa.h (EXPAND_BUILTIN_VA_ARG): Remove.
* config/v850/v850-protos.h (v850_va_arg): Remove. * config/v850/v850-protos.h (v850_va_arg): Remove.
* config/v850/v850.c (TARGET_GIMPLIFY_VA_ARG_EXPR): New. * config/v850/v850.c (TARGET_GIMPLIFY_VA_ARG_EXPR): New.
(v850_gimplify_va_arg_expr): Rewrite from v850_va_arg. (v850_gimplify_va_arg_expr): Rewrite from v850_va_arg.
......
...@@ -77,7 +77,6 @@ extern char *xtensa_emit_call (int, rtx *); ...@@ -77,7 +77,6 @@ extern char *xtensa_emit_call (int, rtx *);
#ifdef TREE_CODE #ifdef TREE_CODE
extern void init_cumulative_args (CUMULATIVE_ARGS *, int); extern void init_cumulative_args (CUMULATIVE_ARGS *, int);
extern void xtensa_va_start (tree, rtx); extern void xtensa_va_start (tree, rtx);
extern rtx xtensa_va_arg (tree, tree);
#endif /* TREE_CODE */ #endif /* TREE_CODE */
extern void print_operand (FILE *, rtx, int); extern void print_operand (FILE *, rtx, int);
......
...@@ -901,10 +901,6 @@ typedef struct xtensa_args ...@@ -901,10 +901,6 @@ typedef struct xtensa_args
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \ #define EXPAND_BUILTIN_VA_START(valist, nextarg) \
xtensa_va_start (valist, nextarg) xtensa_va_start (valist, nextarg)
/* Implement `va_arg'. */
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
xtensa_va_arg (valist, type)
/* If defined, a C expression that produces the machine-specific code /* If defined, a C expression that produces the machine-specific code
to setup the stack so that arbitrary frames can be accessed. to setup the stack so that arbitrary frames can be accessed.
......
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