Handbook
Glossary
eliminate-write-barrier ( insn -- ? )
Vocabulary
compiler
.
cfg
.
write-barrier
Inputs
insn
an
object
Outputs
?
an
object
Definition
IN:
compiler.cfg.write-barrier
GENERIC:
eliminate-write-barrier
( insn -- ? )
Methods
USING:
accessors
compiler.cfg.instructions
compiler.cfg.write-barrier
;
M:
##allot
eliminate-write-barrier
dst>>
fresh-allocation
t
;
USING:
accessors
assocs
compiler.cfg.instructions
compiler.cfg.write-barrier
kernel
namespaces
;
M:
##copy
eliminate-write-barrier
[
src>>
resolve-copy
]
[
dst>>
]
bi
copies
get
set-at
t
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.write-barrier
;
M:
##set-slot-imm
eliminate-write-barrier
obj>>
mutated-object
t
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.write-barrier
;
M:
##set-slot
eliminate-write-barrier
obj>>
mutated-object
t
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.write-barrier
;
M:
##write-barrier-imm
eliminate-write-barrier
src>>
needs-write-barrier?
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.write-barrier
;
M:
##write-barrier
eliminate-write-barrier
src>>
needs-write-barrier?
;
USING:
compiler.cfg.instructions
compiler.cfg.write-barrier
namespaces
sets
;
M:
gc-map-insn
eliminate-write-barrier
fresh-allocations
get
clear-set
;
USING:
compiler.cfg.instructions
compiler.cfg.write-barrier
kernel
;
M:
insn
eliminate-write-barrier
drop
t
;