| 1 |
(* omit-frame-pointer.sig |
| 2 |
* |
| 3 |
* COPYRIGHT (c) 2019 The Fellowship of SML/NJ (http://www.smlnj.org) |
| 4 |
* All rights reserved. |
| 5 |
* |
| 6 |
* omit the frame pointer based by rewriting to use the stack pointer. |
| 7 |
*) |
| 8 |
|
| 9 |
signature OMIT_FRAME_POINTER = sig |
| 10 |
structure I : INSTRUCTIONS |
| 11 |
structure CFG : CONTROL_FLOW_GRAPH (* where I = I *) |
| 12 |
where type I.addressing_mode = I.addressing_mode |
| 13 |
and type I.ea = I.ea |
| 14 |
and type I.instr = I.instr |
| 15 |
and type I.instruction = I.instruction |
| 16 |
and type I.operand = I.operand |
| 17 |
|
| 18 |
(* idelta is the intial displacement between the fp and sp. *) |
| 19 |
val omitframeptr : {vfp:CellsBasis.cell, idelta:Int32.int option, cfg:CFG.cfg} -> unit |
| 20 |
end |