Handbook
Glossary
split-site-cost ( index uses -- cost )
Vocabulary
compiler
.
cfg
.
register-allocation
.
spill-sites
Inputs
index
an
object
uses
an
object
Outputs
cost
an
object
Definition
USING:
math
sequences
;
IN:
compiler.cfg.register-allocation.spill-sites
::
split-site-cost
( index uses -- cost )
index 1
-
uses
nth
spill-site-weight
index uses
nth
spill-site-weight
+
;