aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2010-10-28 20:27:30 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2010-10-28 20:27:30 +0000
commit05fda8480960186392f5f0501793dae9a96c9a66 (patch)
tree354a485ffe38221bc86e10e6331ee87d1c9fd29b /gcc
parent73f3f8411f8eab303306829f4cb9a62c25129b6f (diff)
downloadgcc-05fda8480960186392f5f0501793dae9a96c9a66.zip
gcc-05fda8480960186392f5f0501793dae9a96c9a66.tar.gz
gcc-05fda8480960186392f5f0501793dae9a96c9a66.tar.bz2
* score.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
From-SVN: r166046
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/score/score.h21
2 files changed, 4 insertions, 21 deletions
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 <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.
(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. */