SCM Repository
[smlnj] Diff of /sml/trunk/compiler/CodeGen/main/machine-gen.sml
Diff of /sml/trunk/compiler/CodeGen/main/machine-gen.sml
Parent Directory
|
Revision Log
|
Patch
53 |
structure ExpandCpys = |
structure ExpandCpys = |
54 |
CFGExpandCopies |
CFGExpandCopies |
55 |
(structure CFG = CFG |
(structure CFG = CFG |
56 |
structure ExpandCopies = |
structure Shuffle = Shuffle) |
|
struct |
|
|
structure I = I |
|
|
fun expandCopies(I.COPY{k, dst, src, tmp, ...}) = |
|
|
(case k |
|
|
of CellsBasis.GP => Shuffle.shuffle{dst=dst, src=src, tmp=tmp} |
|
|
| CellsBasis.FP => Shuffle.shufflefp{dst=dst, src=src, tmp=tmp} |
|
|
| _ => MLRiscErrorMsg.error ("MachineGen", "expandCopies") |
|
|
(*esac*)) |
|
|
| expandCopies(I.ANNOTATION{i, ...}) = expandCopies(i) |
|
|
| expandCopies instr = [instr] |
|
|
end |
|
|
) |
|
57 |
|
|
58 |
fun omitFramePointer(cfg as G.GRAPH graph) = let |
fun omitFramePointer(cfg as G.GRAPH graph) = let |
59 |
val CFG.INFO{annotations, ...} = #graph_info graph |
val CFG.INFO{annotations, ...} = #graph_info graph |
|
Legend:
Removed from v.1015 |
|
changed lines |
|
Added in v.1016 |
|
|