Handbook
Glossary
find-next-use ( live-interval new -- n )
Vocabulary
compiler
.
cfg
.
linear-scan
.
allocation
.
spilling
Inputs
live-interval
an
object
new
an
object
Outputs
n
an
object
Definition
USING:
accessors
compiler.cfg.linear-scan.live-intervals
kernel
math
sequences
;
IN:
compiler.cfg.linear-scan.allocation.spilling
:
find-next-use
( live-interval new -- n )
[
uses>>
]
[
live-interval-start
]
bi*
[
[
[
spill-slot?>>
not
]
[
n>>
]
bi
]
]
dip
[
>=
and
]
curry
compose
find
nip
[
n>>
]
[
1/0.
]
if*
;