Handbook
Glossary
prepare-struct-callee ( c-type -- vreg )
Vocabulary
compiler
.
cfg
.
builder
.
alien
Inputs
c-type
an
object
Outputs
vreg
an
object
Definition
USING:
arrays
classes.struct
compiler.cfg.builder.alien.params
compiler.cfg.registers
cpu.architecture
kernel
layouts
namespaces
sequences
;
IN:
compiler.cfg.builder.alien
:
prepare-struct-callee
( c-type -- vreg )
large-struct?
[
struct-return-register
[
[
next-vreg
dup
int-rep
]
dip
3array
reg-values
get
push
]
[
int-rep
struct-return-on-stack?
f
cell
callee-parameter
]
if*
]
[
f
]
if
;