Handbook
Glossary
##inc
Basic block instructions
Prev:
##vector>scalar
Vocabulary
compiler
.
cfg
.
instructions
Class description
An instruction that increases or decreases a stacks height by n. For example,
2drop
decreases the datastacks height by two and pushing an item increases it by one.
Definition
IN:
compiler.cfg.instructions
TUPLE:
##inc
<
insn
loc insn#
;
Methods
USING:
accessors
compiler.cfg.instructions
compiler.codegen
cpu.architecture
kernel
;
M:
##inc
generate-insn
[
loc>>
]
keep
drop
%inc
;
USING:
compiler.cfg.instructions
compiler.cfg.stacks.padding
;
M:
##inc
visit-insn
[
shift-stack
]
apply-stack-op
;