diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-08-27 14:48:16 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-08-27 14:48:16 +0000 |
commit | c8717ea3bc5d29892eb629534cd58c139e3daae7 (patch) | |
tree | bd28876239ac19121498dd995e944583945304bb /gcc/config/mips/mips.h | |
parent | 7c8232a2e9681bf5cc37162b5175a5899329bbfb (diff) | |
download | gcc-c8717ea3bc5d29892eb629534cd58c139e3daae7.zip gcc-c8717ea3bc5d29892eb629534cd58c139e3daae7.tar.gz gcc-c8717ea3bc5d29892eb629534cd58c139e3daae7.tar.bz2 |
mips-protos.h (mips_function_arg_advance): Delete
* config/mips/mips-protos.h (mips_function_arg_advance): Delete
(mips_function_arg): Delete.
(mips_function_arg_boundary): Take a const_tree.
* config/mips/mips.c (mips_function_arg_boundary): Likewise.
(mips_arg_info): Likewise.
(mips_setup_incoming_varargs): Call mips_function_arg_advance
instead of FUNCTION_ARG_ADVANCE.
(mips_function_arg_advance): Adjust prototype. Make static.
(mips_function_arg): Likewise.
(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
* config/mips/mips.h (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Delete.
From-SVN: r163587
Diffstat (limited to 'gcc/config/mips/mips.h')
-rw-r--r-- | gcc/config/mips/mips.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index c5519b0..cc3ebb4 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -2249,29 +2249,6 @@ typedef struct mips_args { #define INIT_CUMULATIVE_ARGS(CUM, FNTYPE, LIBNAME, INDIRECT, N_NAMED_ARGS) \ mips_init_cumulative_args (&CUM, FNTYPE) -/* 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) \ - mips_function_arg_advance (&CUM, MODE, TYPE, NAMED) - -/* 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) \ - mips_function_arg (&CUM, MODE, TYPE, NAMED) - #define FUNCTION_ARG_BOUNDARY mips_function_arg_boundary #define FUNCTION_ARG_PADDING(MODE, TYPE) \ |