doc/guide/src/DuplicateGlobals.adoc
raw| 1 | = DuplicateGlobals |
| 2 | |
| 3 | <<DuplicateGlobals#>> is an optimization pass for the <<SSA#>> |
| 4 | <<IntermediateLanguage#>>, invoked from <<SSASimplify#>>. |
| 5 | |
| 6 | == Description |
| 7 | |
| 8 | <<DuplicateGlobals#>> introduces a distinct instance of a `ConApp` global for |
| 9 | each distict use within the program. |
| 10 | |
| 11 | == Implementation |
| 12 | |
| 13 | * https://github.com/MLton/mlton/blob/master/mlton/ssa/duplicate-globals.fun[`duplicate-globals.fun`] |
| 14 | |
| 15 | == Details and Notes |
| 16 | |
| 17 | {empty} |