* score.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
authorNathan Froyd <froydnj@codesourcery.com>
Thu, 28 Oct 2010 20:27:30 +0000 (20:27 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Thu, 28 Oct 2010 20:27:30 +0000 (20:27 +0000)
From-SVN: r166046

gcc/ChangeLog
gcc/config/score/score.h

index 1dd0bd0b17de76b77e294ec4252dfb68db576939..01c7b6a2d8dda81ecf8e5031d93677c0c1d7cb90 100644 (file)
@@ -1,3 +1,7 @@
+2010-10-28  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * score.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
+
 2010-10-28  Nathan Froyd  <froydnj@codesourcery.com>
 
        * config/cris/cris.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Delete.
index 98f6d7dbe0336b288b54f585ab92f3371a25b3f3..49887040014448b5bae8a3429cd79af115d2cbf3 100644 (file)
@@ -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.  */