lib/mlrisc-lib/MLRISC/gc-safety/gc-liveness.sig
raw| 1 | (* |
| 2 | * This module is responsible for computing typed liveness |
| 3 | * information needed garbage collection-safe global optimizations. |
| 4 | *) |
| 5 | signature GC_LIVENESS = |
| 6 | sig |
| 7 | structure IR : MLRISC_IR |
| 8 | structure GC : GC_TYPE |
| 9 | structure GCTypeMap : GC_TYPEMAP |
| 10 | sharing GCTypeMap.GC = GC |
| 11 | |
| 12 | val liveness : IR.IR -> {liveIn:GCTypeMap.typemap, |
| 13 | liveOut:GCTypeMap.typemap} Array.array |
| 14 | end |