Handbook
Glossary
insert-basic-block ( from to insns -- )
Vocabulary
compiler
.
cfg
.
utilities
Inputs
from
a
basic-block
to
a
basic-block
insns
a
sequence
Outputs
None
Word description
Insert basic block on the edge between 'from' and 'to'.
Definition
USING:
accessors
;
IN:
compiler.cfg.utilities
::
insert-basic-block
( from to insns -- )
insns
f
insns>block
:>
bb
V{
from
}
bb
predecessors<<
V{
to
}
bb
successors<<
from to bb
update-predecessors
from to bb
update-successors
;