Patchwork [score] really delete FUNCTION_ARG &co.

login
register
mail settings
Submitter Nathan Froyd
Date Oct. 28, 2010, 8:27 p.m.
Message ID <20101028202732.GV6758@nightcrawler>
Download mbox | patch
Permalink /patch/69497/
State New
Headers show

Comments

Nathan Froyd - Oct. 28, 2010, 8:27 p.m.
I missed a spot when hookizing FUNCTION_ARG &co. for score.  Of course
testing didn't care because TARGET_FUNCTION_ARG was set properly...

Committed as obvious.

-Nathan

	* score.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.

Patch

Index: config/score/score.h
===================================================================
--- config/score/score.h	(revision 166032)
+++ config/score/score.h	(working copy)
@@ -569,21 +569,6 @@  extern enum reg_class score_char_to_clas
 #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.  */