Handbook
Glossary
update-insn ( insn -- keep? )
Vocabulary
compiler
.
cfg
.
copy-prop
.
private
Inputs
insn
an
object
Outputs
keep?
an
object
Definition
IN:
compiler.cfg.copy-prop.private
GENERIC:
update-insn
( insn -- keep? )
Methods
USING:
compiler.cfg.copy-prop.private
compiler.cfg.instructions
kernel
;
M:
##copy
update-insn
drop
f
;
USING:
accessors
assocs
compiler.cfg.copy-prop.private
compiler.cfg.instructions
generic
kernel
sequences
;
M:
##phi
update-insn
dup
M\
##phi
update-insn
(call-next-method)
drop
[
dst>>
]
[
inputs>>
values
]
bi
[
=
not
]
with
any?
;
USING:
compiler.cfg.copy-prop.private
compiler.cfg.instructions
kernel
;
M:
insn
update-insn
drop
t
;
USING:
compiler.cfg.copy-prop.private
compiler.cfg.instructions
compiler.cfg.renaming
;
M:
vreg-insn
update-insn
rename-insn-uses
t
;