Handbook
Glossary
emit-actual-if ( block #if -- block' )
Final stage of compilation generates machine code from dataflow IR
Prev:
emit-loop-call ( successor-block current-block -- )
Next:
emit-branch ( nodes block -- pair/f )
Vocabulary
compiler
.
cfg
.
builder
Inputs
block
an
object
#if
an
object
Outputs
block'
an
object
Definition
USING:
compiler.cfg.comparisons
compiler.cfg.hats
compiler.cfg.instructions
compiler.cfg.stacks
cpu.architecture
;
IN:
compiler.cfg.builder
:
emit-actual-if
( block #if -- block' )
ds-pop
any-rep
^^copy
f
cc/=
##compare-imm-branch,
emit-if
;