Handbook
Glossary
last-use-rep ( live-interval -- rep )
Spill slot assignment
Prev:
first-use-rep ( live-interval -- rep/f )
Vocabulary
compiler
.
cfg
.
linear-scan
.
allocation
.
spilling
Inputs
live-interval
a
live-interval-state
Outputs
rep
a
representation
Word description
Gets the last usage representation for the interval. Used when determining what representation it should have when spilled.
See also
first-use-rep
Definition
USING:
accessors
combinators.short-circuit
compiler.cfg.linear-scan.live-intervals
;
IN:
compiler.cfg.linear-scan.allocation.spilling
:
last-use-rep
( live-interval -- rep )
last-use
{
[
def-rep>>
]
[
use-rep>>
]
}
1||
;
inline