Handbook
Glossary
drop-dead-values ( outputs -- #shuffle )
Vocabulary
compiler
.
tree
.
dead-code
.
simple
Inputs
outputs
an
object
Outputs
#shuffle
an
object
Definition
USING:
sequences
stack-checker.backend
;
IN:
compiler.tree.dead-code.simple
::
drop-dead-values
( outputs -- #shuffle )
outputs
length
make-values
:>
new-outputs outputs
filter-live
:>
live-outputs new-outputs live-outputs outputs
new-outputs
drop-values
;