Handbook
Glossary
recolor-interval ( interval depth -- ? )
Vocabulary
compiler
.
cfg
.
register-allocation
.
greedy
Inputs
interval
an
object
depth
an
object
Outputs
?
an
object
Definition
USING:
assocs
kernel
math
namespaces
sequences
;
IN:
compiler.cfg.register-allocation.greedy
::
recolor-interval
( interval depth -- ? )
greedy-recolor-budget
get
0
>
[
greedy-recolor-budget
dec
interval
allocation-order
[
interval
swap
depth
recolor-on-register
]
any?
dup
[
t
interval
greedy-recolor-fixed
get
set-at
]
when
]
[
f
]
if
;