* config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.

From-SVN: r30796
This commit is contained in:
Jakub Jelinek 1999-12-06 11:09:20 +01:00 committed by David S. Miller
parent 6d6365b282
commit 7b0c7e62d7
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
1999-12-06 Jakub Jelinek <jakub@redhat.com>
* config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
1999-12-05 Jakub Jelinek <jakub@redhat.com>
* config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.

View File

@ -1744,6 +1744,13 @@ init_cumulative_args (& (CUM), (FNTYPE), (LIBNAME), (INDIRECT));
#define FUNCTION_ARG_ADVANCE(CUM, MODE, TYPE, NAMED) \
function_arg_advance (& (CUM), (MODE), (TYPE), (NAMED))
/* Nonzero if we do not know how to pass TYPE solely in registers. */
#define MUST_PASS_IN_STACK(MODE,TYPE) \
((TYPE) != 0 \
&& (TREE_CODE (TYPE_SIZE (TYPE)) != INTEGER_CST \
|| TREE_ADDRESSABLE (TYPE)))
/* 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.