Handbook
Glossary
emit-callback-return ( block params -- )
CFG node emitter for alien nodes
Prev:
emit-callback-body ( block nodes -- block' )
Vocabulary
compiler
.
cfg
.
builder
.
alien
Inputs
block
a
basic-block
params
an
alien-node-params
Outputs
None
Word description
Emits a
##callback-outputs
instruction for the
#alien-callback
if needed.
Definition
USING:
compiler.cfg.instructions
kernel
;
IN:
compiler.cfg.builder.alien
:
emit-callback-return
( block params -- )
swap
[
callee-return
##callback-outputs,
]
[
drop
]
if
;