Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/MLRISC/c-calls/c-calls.sig
ViewVC logotype

Diff of /sml/trunk/src/MLRISC/c-calls/c-calls.sig

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 837, Fri Jun 1 17:27:54 2001 UTC revision 838, Tue Jun 5 19:10:21 2001 UTC
# Line 27  Line 27 
27     * with void return type have no result, most others have one result,     * with void return type have no result, most others have one result,
28     * but some conventions may flatten larger arguments into multiple     * but some conventions may flatten larger arguments into multiple
29     * registers (e.g., a register pair for long long results).     * registers (e.g., a register pair for long long results).
30       *
31       * The "saveRestoreDedicated" callback receives a list of registers
32       * defined by the call instruction and should return instruction
33       * sequences to save/restore any dedicated registers around that call
34       * (if necessary).
35     *)     *)
36      val genCall : {      val genCall : {
37              name  : T.rexp,              name  : T.rexp,
38              proto : CTypes.c_proto,              proto : CTypes.c_proto,
39              structRet : {szb : int, align : int} -> T.rexp,              structRet : {szb : int, align : int} -> T.rexp,
40                saveRestoreDedicated :
41                  T.mlrisc list -> { save: T.stm list, restore: T.stm list },
42                callComment : string option,
43              args : c_arg list              args : c_arg list
44            } -> {            } -> {
45              callseq : T.stm list,              callseq : T.stm list,

Legend:
Removed from v.837  
changed lines
  Added in v.838

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0