summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-30 06:41:01 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-30 06:41:01 +0000
commit83272ab403cbbab4b498da98fd79dbe44c4c0071 (patch)
tree75e4c118a4ffb66469395e322c405abf59619bbf /gcc/calls.c
parentd72ffa5d7e24fe17145fcd7d61d8dca6ecc19b66 (diff)
downloadgcc-83272ab403cbbab4b498da98fd79dbe44c4c0071.tar.gz
* calls.c (struct arg_data): Update "partial" comment.
(load_register_parameters): Update "nregs" comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97241 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index a6a071a09f8..54307bf4be5 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -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)
;