Handbook
Glossary
record-temp ( vreg n -- )
Live interval utilities
Prev:
record-use ( vreg n spill-slot? -- )
Next:
cfg>sync-points ( cfg -- sync-points )
Vocabulary
compiler
.
cfg
.
linear-scan
.
live-intervals
Inputs
vreg
a
number
n
a
number
Outputs
None
Word description
Assigns the interval [n,n] to vreg:s live interval.
Definition
USING:
accessors
compiler.cfg.linear-scan.ranges
compiler.cfg.registers
kernel
;
IN:
compiler.cfg.linear-scan.live-intervals
::
record-temp
( vreg n -- )
vreg
vreg>live-interval
:>
live-interval n n live-interval
ranges>>
add-range
n live-interval
f
(add-use)
vreg
rep-of
>>def-rep
drop
;