16 lines
597 B
Factor
16 lines
597 B
Factor
USING: cpu.architecture help.markup help.syntax make ;
|
|
IN: compiler.cfg.representations.conversion
|
|
|
|
HELP: emit-conversion
|
|
{ $values
|
|
{ "dst" "vreg" }
|
|
{ "src" "vreg" }
|
|
{ "dst-rep" representation }
|
|
{ "src-rep" representation }
|
|
} { $description "Emits an instruction converting a virtual register from one representation to another." } ;
|
|
|
|
HELP: tagged>rep
|
|
{ $values { "dst" "vreg" } { "src" "vreg" } { "rep" representation } }
|
|
{ $description "Emits an instruction to the current " { $link make }
|
|
" sequence for converting a tagged value of the givern representation to an untagged one." } ;
|