Handbook
Glossary
dead-flushable-call? ( #call -- ? )
Vocabulary
compiler
.
tree
.
dead-code
.
simple
Inputs
#call
a
#call
Outputs
?
a
boolean
Word description
t
if the called word is flushable and none of its outputs are used.
Definition
USING:
accessors
compiler.tree.dead-code.liveness
kernel
sequences
;
IN:
compiler.tree.dead-code.simple
:
dead-flushable-call?
( #call -- ? )
dup
flushable-call?
[
out-d>>
[
live-value?
not
]
all?
]
[
drop
f
]
if
;