Handbook
Glossary
cleanup-tree ( nodes -- nodes' )
Cleanup Phase
Vocabulary
compiler
.
tree
.
cleanup
Inputs
nodes
a
sequence
Outputs
nodes'
a
sequence
Word description
Main entry point for the cleanup-tree optimization phase. We don't recurse into children here, instead the methods do it since the logic is a bit more involved.
See also
cleanup-tree*
Definition
USING:
compiler.utilities
;
IN:
compiler.tree.cleanup
:
cleanup-tree
( nodes -- nodes' )
[
cleanup-tree*
]
map-flat
;