box ( vregs reps c-type -- dst )


Vocabulary
compiler.cfg.builder.alien.boxing

Inputs
vregsa one-element sequence containing a virtual register indentifier
repsa one-element sequence containing a representation symbol
c-typea c-type


Outputs
dstbox


Word description
Emits a ##box-alien instruction which boxes an alien value contained in the given register.

Examples
USING: compiler.cfg.builder.alien.boxing make prettyprint ; { 71 } { int-rep } void* base-type [ box ] { } make nip .
{ T{ ##box-alien { dst 105 } { src 71 } { temp 104 } } }


See also
##box-alien

Definition


Methods