Handbook
Glossary
visit-insn ( state insn -- state' )
Vocabulary
compiler
.
cfg
.
stacks
.
padding
Inputs
state
an
object
insn
an
object
Outputs
state'
an
object
Definition
IN:
compiler.cfg.stacks.padding
GENERIC:
visit-insn
( state insn -- state' )
Methods
USING:
compiler.cfg.instructions
compiler.cfg.stacks.padding
kernel
;
M:
##call-gc
visit-insn
drop
all-live
;
USING:
compiler.cfg.instructions
compiler.cfg.stacks.padding
kernel
;
M:
##call
visit-insn
drop
dup
ensure-no-vacant
;
USING:
compiler.cfg.instructions
compiler.cfg.stacks.padding
;
M:
##inc
visit-insn
[
shift-stack
]
apply-stack-op
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.stacks.padding
kernel
math
;
M:
##peek
visit-insn
dup
loc>>
n>>
0
>=
t
assert=
dupd
underflowable-peek?
[
all-live
]
when
;
USING:
compiler.cfg.instructions
compiler.cfg.stacks.padding
;
M:
##replace-imm
visit-insn
live-location
;
USING:
compiler.cfg.instructions
compiler.cfg.stacks.padding
;
M:
##replace
visit-insn
live-location
;
USING:
compiler.cfg.instructions
compiler.cfg.stacks.padding
kernel
;
M:
gc-map-insn
visit-insn
drop
;
USING:
compiler.cfg.instructions
compiler.cfg.stacks.padding
kernel
;
M:
insn
visit-insn
drop
;