Handbook
Glossary
ds-push ( vreg -- )
Generating instructions for accessing the data and retain stacks
Prev:
ds-drop ( -- )
Next:
store-vregs ( vregs loc-class -- )
Vocabulary
compiler
.
cfg
.
stacks
Inputs
vreg
a virtual register
Outputs
None
Word description
Used when translating the
#push
SSA node to CFG form. The node pushes a literal value onto the data stack.
Definition
USING:
compiler.cfg.registers
compiler.cfg.stacks.local
;
IN:
compiler.cfg.stacks
:
ds-push
( vreg -- )
D:
1
inc-stack
D:
0
replace-loc
;