Commit 2e547b13 by Richard Sandiford Committed by Richard Sandiford

* calls.c (store_one_arg): Expand comment.

From-SVN: r45502
parent 0df299ae
2001-09-10 Richard Sandiford <rsandifo@redhat.com>
* calls.c (store_one_arg): Expand comment.
2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
* calls.c (store_one_arg): Make sure that the entire argument is
......
......@@ -4565,8 +4565,14 @@ store_one_arg (arg, argblock, flags, variable_size, reg_parm_stack_space)
}
}
/* If parm is passed both in stack and in register and offset is
greater than reg_parm_stack_space, split the offset. */
/* Special handling is required if part of the parameter lies in the
register parameter area. The argument may be copied into the stack
slot using memcpy(), but the original contents of the register
parameter area will be restored after the memcpy() call.
To ensure that the part that lies in the register parameter area
is copied correctly, we emit a separate push for that part. This
push should be small enough to avoid a call to memcpy(). */
#ifndef STACK_PARMS_IN_REG_PARM_AREA
if (arg->reg && arg->pass_on_stack)
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment