factor/basis/compiler/tree/cleanup/cleanup-docs.factor

16 lines
681 B
Factor
Raw Normal View History

2015-06-14 01:40:17 -04:00
USING: compiler.tree help.markup help.syntax kernel sequences ;
IN: compiler.tree.cleanup
2015-06-14 01:40:17 -04:00
HELP: cleanup-folding?
{ $values { "#call" #call } { "?" boolean } }
{ $description "Checks if a " { $link #call } " node can be folded." } ;
2015-06-06 00:22:50 -04:00
HELP: cleanup-tree
{ $values { "nodes" sequence } { "nodes'" sequence } }
2015-06-06 00:22:50 -04:00
{ $description "Main entry point for the cleanup-tree optimization phase." } ;
2015-06-14 01:40:17 -04:00
ARTICLE: "compiler.tree.cleanup" "Cleanup Phase"
"A phase run after propagation to finish the job, so to speak. Codifies speculative inlining decisions, deletes branches marked as never taken, and flattens local recursive blocks that do not call themselves." ;
ABOUT: "compiler.tree.cleanup"