]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
calls.c: Replace STRICT_ARGUMENT_NAMING in comments with...
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 14 Jan 2004 21:59:30 +0000 (21:59 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 14 Jan 2004 21:59:30 +0000 (21:59 +0000)
* calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
targetm.calls.strict_argument_naming().
* target.h: Likewise.

From-SVN: r75886

gcc/ChangeLog
gcc/calls.c
gcc/target.h

index 5da9220a81927a9050ed1b7bd1210b709b470cdf..d661fd5c7fe7704650219fae270ada69ae0dd66b 100644 (file)
@@ -1,3 +1,9 @@
+2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
+       targetm.calls.strict_argument_naming().
+       * target.h: Likewise.
+
 2004-01-14  Richard Henderson  <rth@redhat.com>
 
        PR debug/13231
index d9a62e7922967ae83584d86b4cdd59e1d25077ac..1be581cfa692f87465735420ce049cbc116e5154 100644 (file)
@@ -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
index 93935374c15a43f28e487893490fbcd2ca61f350..f63b078aaf624419433633d942b4ff49570be91e 100644 (file)
@@ -433,7 +433,7 @@ struct gcc_target
                                    tree type, int *pretend_arg_size, int second_time);
     bool (*strict_argument_naming) (CUMULATIVE_ARGS *ca);
     /* Returns true if we should use SETUP_INCOMING_VARARGS and/or
-       STRICT_ARGUMENT_NAMING.  */
+       targetm.calls.strict_argument_naming().  */
     bool (*pretend_outgoing_varargs_named) (CUMULATIVE_ARGS *ca);
   } calls;
 };