prepare-struct-caller ( vregs reps return -- vregs' reps' return-vreg/f )


Vocabulary
compiler.cfg.builder.alien

Inputs
vregsa sequence
repsa sequence
returna C type


Outputs
vregs'a sequence
reps'a sequence
return-vreg/fa virtual register or f


Word description
Allocates an indirect structure result area when required. If struct-return-register is f, prepends the result pointer and its representation to the ordinary parameters, preserving their order. Otherwise, assigns the pointer to the dedicated result register.

Definition