Handbook
Glossary
end-word ( block -- block' )
Final stage of compilation generates machine code from dataflow IR
Prev:
begin-word ( block -- block' )
Next:
with-cfg-builder ( nodes word label quot: ( ..a block -- ..b ) -- )
Vocabulary
compiler
.
cfg
.
builder
Inputs
block
current
basic-block
Outputs
block'
a
basic-block
Word description
Ends the word by adding a basic block containing a
##return
instructions to the
cfg
.
Definition
USING:
accessors
compiler.cfg.builder.blocks
compiler.cfg.instructions
;
IN:
compiler.cfg.builder
:
end-word
( block -- block' )
##branch,
begin-basic-block
t
>>kill-block?
##safepoint,
##epilogue,
##return,
;