Handbook
Glossary
spill-at-sync-point ( sync-point live-interval -- ? )
Vocabulary
compiler
.
cfg
.
linear-scan
.
allocation
Inputs
sync-point
a
sync-point
live-interval
a
live-interval-state
Outputs
?
a
boolean
Word description
Maybe spills the live-interval at the given sync point. If the interval was spilled, then
f
is put on the stack to indicate that the interval isn't live anymore,
t
otherwise.
See also
spill-at-sync-point?
Definition
USING:
accessors
compiler.cfg.linear-scan.allocation.spilling
kernel
;
IN:
compiler.cfg.linear-scan.allocation
:
spill-at-sync-point
( sync-point live-interval -- ? )
2dup
spill-at-sync-point?
[
swap
n>>
spill
f
]
[
2drop
t
]
if
;