Handbook
Glossary
deactivate-intervals ( n -- )
Vocabulary
compiler
.
cfg
.
linear-scan
.
allocation
.
state
Inputs
n
an
integer
Outputs
None
Word description
Any active intervals which have ended are moved to handled. Any active intervals which cover the current position are moved to inactive.
Definition
USING:
kernel
namespaces
;
IN:
compiler.cfg.linear-scan.allocation.state
:
deactivate-intervals
( n -- )
dup
progress
set
active-intervals
{
{
[
2dup
finished?
]
[
finish
]
}
{
[
2dup
covers?
not
]
[
deactivate
]
}
[
don't-change
]
}
process-intervals
;