summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-14 21:59:30 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-14 21:59:30 +0000
commit8bdddbd123204057612ab1903c9b446c1d9ab7ae (patch)
treed4da852b5e18eec4d64813a228f88334dbb80a8b /gcc/calls.c
parent2ee927a400209eb7ee4ae854759abcef0eb05d6c (diff)
downloadgcc-8bdddbd123204057612ab1903c9b446c1d9ab7ae.tar.gz
* calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
targetm.calls.strict_argument_naming(). * target.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75886 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index d9a62e79229..1be581cfa69 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -2405,16 +2405,17 @@ expand_call (tree exp, rtx target, int ignore)
/* Compute number of named args.
Normally, don't include the last named arg if anonymous args follow.
- We do include the last named arg if STRICT_ARGUMENT_NAMING is nonzero.
+ We do include the last named arg if
+ targetm.calls.strict_argument_naming() returns nonzero.
(If no anonymous args follow, the result of list_length is actually
one too large. This is harmless.)
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.
+ nonzero, and targetm.calls.strict_argument_naming() returns 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