Handbook
Glossary
insn>sync-point ( insn -- sync-point/f )
Live interval utilities
Prev:
hairy-clobber-insn
Next:
from
Vocabulary
compiler
.
cfg
.
linear-scan
.
live-intervals
Inputs
insn
an
insn
Outputs
sync-point/f
a
sync-point
or
f
Word description
If the instruction clobbers arbitrary registers, then a sync point for it is emitted. Most instructions don't so then
f
is returned instead.
Definition
IN:
compiler.cfg.linear-scan.live-intervals
GENERIC:
insn>sync-point
( insn -- sync-point/f )
Methods
USING:
accessors
compiler.cfg.linear-scan.live-intervals
kernel
;
M:
clobber-insn
insn>sync-point
[
insn#>>
]
[
hairy-clobber-insn?
not
]
bi
sync-point
boa
;
USING:
compiler.cfg.instructions
compiler.cfg.linear-scan.live-intervals
kernel
;
M:
insn
insn>sync-point
drop
f
;