Handbook
Glossary
add-pending ( live-interval -- )
Assigning registers to live intervals
Prev:
activate-interval ( live-interval -- )
Next:
pending-interval-assoc
Vocabulary
compiler
.
cfg
.
linear-scan
.
assignment
Inputs
live-interval
a
live-interval-state
Outputs
None
Word description
Adds a live interval to the pending interval set.
Definition
USING:
accessors
assocs
compiler.cfg.linear-scan.live-intervals
heaps
kernel
namespaces
;
IN:
compiler.cfg.linear-scan.assignment
:
add-pending
( live-interval -- )
[
dup
live-interval-end
pending-interval-heap
get
heap-push
]
[
[
reg>>
]
[
vreg>>
]
bi
pending-interval-assoc
get
set-at
]
bi
;