Handbook
Glossary
gc-check-offsets ( insns -- seq )
Vocabulary
compiler
.
cfg
.
gc-checks
.
private
Inputs
insns
a
sequence
Outputs
seq
a
sequence
Word description
A basic block is divided into sections by
##call
and
##phi
instructions. For every section with at least one allocation, record the offset of its first instruction in a sequence.
Definition
USING:
kernel
make
sequences
;
IN:
compiler.cfg.gc-checks.private
:
gc-check-offsets
( insns -- seq )
[
[
0
f
]
dip
[
gc-check-offsets*
]
each-index
[
,
]
[
drop
]
if
]
{
}
make
;