calls.c (struct arg_data): Update "partial" comment.
authorAlan Modra <amodra@bigpond.net.au>
Wed, 30 Mar 2005 06:41:01 +0000 (06:41 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 30 Mar 2005 06:41:01 +0000 (16:11 +0930)
* calls.c (struct arg_data): Update "partial" comment.
(load_register_parameters): Update "nregs" comment.

From-SVN: r97241

gcc/ChangeLog
gcc/calls.c

index 2f827883422f0df3ede0cff8e9e88ae86940f75e..69af4806e8f55123718d72d9f951a457a9c799ec 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * calls.c (struct arg_data): Update "partial" comment.
+       (load_register_parameters): Update "nregs" comment.
+
 2005-03-30  Richard Sandiford  <rsandifo@redhat.com>
 
        * config/iq2000/iq2000.h (target_flags, MASK_GPOPT, MASK_EMBEDDED_DATA)
index a6a071a09f80f22d243eca2bdda980bc16953b54..54307bf4be55d2ff9c688adb5123db6e9bdf1c6c 100644 (file)
@@ -71,8 +71,8 @@ struct arg_data
   /* If REG was promoted from the actual mode of the argument expression,
      indicates whether the promotion is sign- or zero-extended.  */
   int unsignedp;
-  /* Number of registers to use.  0 means put the whole arg in registers.
-     Also 0 if not passed in registers.  */
+  /* Number of bytes to put in registers.  0 means put the whole arg
+     in registers.  Also 0 if not passed in registers.  */
   int partial;
   /* Nonzero if argument must be passed on stack.
      Note that some arguments may be passed on the stack
@@ -1473,10 +1473,10 @@ load_register_parameters (struct arg_data *args, int num_actuals,
          int nregs;
          int size = 0;
          rtx before_arg = get_last_insn ();
-         /* Set to non-negative if must move a word at a time, even if just
-            one word (e.g, partial == 1 && mode == DFmode).  Set to -1 if
-            we just use a normal move insn.  This value can be zero if the
-            argument is a zero size structure with no fields.  */
+         /* Set non-negative if we must move a word at a time, even if
+            just one word (e.g, partial == 4 && mode == DFmode).  Set
+            to -1 if we just use a normal move insn.  This value can be
+            zero if the argument is a zero size structure.  */
          nregs = -1;
          if (GET_CODE (reg) == PARALLEL)
            ;