diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-12-18 03:29:04 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-12-18 03:29:04 +0000 |
commit | 4ac8340c316fb9f22630f419498847e0c6baf2cb (patch) | |
tree | 9d2bd76e18f5fbed09b4d35fad46609603fa1cf7 /gcc/calls.c | |
parent | b0656d8b259f9035873700b7fc657f495044b75d (diff) | |
download | gcc-4ac8340c316fb9f22630f419498847e0c6baf2cb.zip gcc-4ac8340c316fb9f22630f419498847e0c6baf2cb.tar.gz gcc-4ac8340c316fb9f22630f419498847e0c6baf2cb.tar.bz2 |
calls.c (expand_call): Update comments.
* calls.c (expand_call): Update comments.
* system.h (PRETEND_OUTGOING_VARARGS_NAMED): Poison.
* targhooks.c: Do not refer to PRETEND_OUTGOING_VARARGS_NAMED.
From-SVN: r74770
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 6da115c..b89ec52 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2413,15 +2413,16 @@ expand_call (tree exp, rtx target, int ignore) (If no anonymous args follow, the result of list_length is actually one too large. This is harmless.) - If PRETEND_OUTGOING_VARARGS_NAMED is set and STRICT_ARGUMENT_NAMING is - zero, this machine will be able to place unnamed args that were - passed in registers into the stack. So treat all args as named. - This allows the insns emitting for a specific argument list to be - independent of the function declaration. - - If PRETEND_OUTGOING_VARARGS_NAMED is not set, we do not have any - reliable way to pass unnamed args in registers, so we must force - them into memory. */ + If targetm.calls.pretend_outgoing_varargs_named() returns + nonzero, and STRICT_ARGUMENT_NAMING is zero, this machine will be + able to place unnamed args that were passed in registers into the + stack. So treat all args as named. This allows the insns + emitting for a specific argument list to be independent of the + function declaration. + + If targetm.calls.pretend_outgoing_varargs_named() returns zero, + we do not have any reliable way to pass unnamed args in + registers, so we must force them into memory. */ if ((targetm.calls.strict_argument_naming (&args_so_far) || ! targetm.calls.pretend_outgoing_varargs_named (&args_so_far)) |