Handbook
Glossary
spill/reload ( n interval -- {reg,rep,slot} )
Vocabulary
compiler
.
cfg
.
linear-scan
.
assignment
Inputs
n
an
object
interval
an
object
Outputs
{reg,rep,slot}
an
object
Definition
USING:
accessors
arrays
compiler.cfg.linear-scan.allocation.state
kernel
;
IN:
compiler.cfg.linear-scan.assignment
:
spill/reload
( n interval -- {reg,rep,slot} )
[
rep-at-insn
]
keep
[
reg>>
]
[
vreg>>
]
bi
pick
assign-spill-slot
swapd
3array
;