Handbook
Glossary
remove-phi-inputs ( #phi -- )
Vocabulary
compiler
.
tree
.
dead-code
.
branches
Inputs
#phi
an
object
Outputs
None
Definition
USING:
accessors
compiler.tree
kernel
namespaces
sequences
stack-checker.branches
;
IN:
compiler.tree.dead-code.branches
:
remove-phi-inputs
( #phi -- )
if-node
get
children>>
[
dup
ends-with-terminate?
[
drop
f
]
[
last
out-d>>
]
if
]
map
pad-with-bottom
>>phi-in-d
drop
;