Handbook
Glossary
admissible-registers ( cfg -- regs )
Vocabulary
compiler
.
cfg
.
linear-scan
Inputs
cfg
a
cfg
Outputs
regs
an
assoc
Word description
Lists all registers usable by the cfg by register class. In general, that's all registers except the frame pointer register that might be used by the cfg for other purposes.
Definition
USING:
accessors
assocs
cpu.architecture
kernel
sequences
;
IN:
compiler.cfg.linear-scan
:
admissible-registers
( cfg -- regs )
machine-registers
swap
frame-pointer?>>
[
[
[
frame-reg
=
]
reject
]
assoc-map
]
when
;