Handbook
Glossary
begin-basic-block ( block -- block' )
CFG construction utilities
Prev:
with-branch ( block quot: ( ..a block -- ..b block' ) -- pair/f )
Next:
begin-branch ( block -- block' )
Vocabulary
compiler
.
cfg
.
builder
.
blocks
Inputs
block
a
basic-block
Outputs
block'
a
basic-block
Word description
Terminates the given block and initializes a new
basic-block
to begin outputting instructions to. The new block is included in the old blocks
successors
.
Definition
USING:
kernel
;
IN:
compiler.cfg.builder.blocks
:
begin-basic-block
( block -- block' )
dup
end-basic-block
(begin-basic-block)
;