| 1 | Globalize |
| 2 | ========= |
| 3 | |
| 4 | <:Globalize:> is an analysis pass for the <:SXML:> |
| 5 | <:IntermediateLanguage:>, invoked from <:ClosureConvert:>. |
| 6 | |
| 7 | == Description == |
| 8 | |
| 9 | This pass marks values that are constant, allowing <:ClosureConvert:> |
| 10 | to move them out to the top level so they are only evaluated once and |
| 11 | do not appear in closures. |
| 12 | |
| 13 | == Implementation == |
| 14 | |
| 15 | * <!ViewGitFile(mlton,master,mlton/closure-convert/globalize.sig)> |
| 16 | * <!ViewGitFile(mlton,master,mlton/closure-convert/globalize.fun)> |
| 17 | |
| 18 | == Details and Notes == |
| 19 | |
| 20 | {empty} |