From 05fda8480960186392f5f0501793dae9a96c9a66 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Thu, 28 Oct 2010 20:27:30 +0000 Subject: * score.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete. From-SVN: r166046 --- gcc/ChangeLog | 4 ++++ gcc/config/score/score.h | 21 --------------------- 2 files changed, 4 insertions(+), 21 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1dd0bd0..01c7b6a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2010-10-28 Nathan Froyd + * score.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete. + +2010-10-28 Nathan Froyd + * config/cris/cris.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Delete. (FUNCTION_ARG_ADVANCE): Delete. * config/cris/cris.c (cris_function_arg_1, cris_function_arg): New diff --git a/gcc/config/score/score.h b/gcc/config/score/score.h index 98f6d7d..4988704 100644 --- a/gcc/config/score/score.h +++ b/gcc/config/score/score.h @@ -569,21 +569,6 @@ extern enum reg_class score_char_to_class[256]; #define OUTGOING_REG_PARM_STACK_SPACE(FNTYPE) 1 /* Passing Arguments in Registers */ -/* Determine where to put an argument to a function. - Value is zero to push the argument on the stack, - or a hard register in which to store the argument. - - MODE is the argument's machine mode. - TYPE is the data type of the argument (as a tree). - This is null for libcalls where that information may - not be available. - CUM is a variable of type CUMULATIVE_ARGS which gives info about - the preceding args and about the function being called. - NAMED is nonzero if this argument is a named parameter - (otherwise it is an extra parameter matching an ellipsis). */ -#define FUNCTION_ARG(CUM, MODE, TYPE, NAMED) \ - score_function_arg (&CUM, MODE, TYPE, NAMED) - /* A C type for declaring a variable that is used as the first argument of `FUNCTION_ARG' and other related values. For some target machines, the type `int' suffices and can hold the number of bytes of argument so far. */ @@ -602,12 +587,6 @@ typedef struct score_args #define INIT_CUMULATIVE_ARGS(CUM, FNTYPE, LIBNAME, INDIRECT, n_named_args) \ score_init_cumulative_args (&CUM, FNTYPE, LIBNAME) -/* Update the data in CUM to advance over an argument - of mode MODE and data type TYPE. - (TYPE is null for libcalls where that information may not be available.) */ -#define FUNCTION_ARG_ADVANCE(CUM, MODE, TYPE, NAMED) \ - score_function_arg_advance (&CUM, MODE, TYPE, NAMED) - /* 1 if N is a possible register number for function argument passing. We have no FP argument registers when soft-float. When FP registers are 32 bits, we can't directly reference the odd numbered ones. */ -- cgit v1.1