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