Handbook
Glossary
spill-before ( before -- before/f )
Vocabulary
compiler
.
cfg
.
linear-scan
.
allocation
.
spilling
Inputs
before
a
live-interval-state
Outputs
before/f
live-interval-state
or
f
Word description
If the interval does not have any usages before the spill location, then it is the second child of an interval that was split. We reload the value and let the resolve pass insert a spill later.
See also
spill-after
Definition
USING:
accessors
combinators
kernel
sequences
;
IN:
compiler.cfg.linear-scan.allocation.spilling
:
spill-before
( before -- before/f )
dup
uses>>
empty?
[
drop
f
]
[
{
[
]
[
assign-spill
]
[
trim-before-ranges
]
[
check-ranges
]
}
cleave
]
if
;