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 /MLRISC/trunk/staged-allocation/c-call-sig.sml
ViewVC logotype

Diff of /MLRISC/trunk/staged-allocation/c-call-sig.sml

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

revision 2993, Thu Apr 17 01:02:19 2008 UTC revision 2994, Thu Apr 17 23:34:02 2008 UTC
# Line 10  Line 10 
10             *)             *)
11        | FARG of T.fexp        | FARG of T.fexp
12            (* fexp specifies floating-point argument *)            (* fexp specifies floating-point argument *)
       | ARGS of c_arg list  
           (* list of arguments corresponding to the contents of a C struct *)  
13    
14      (* An arg_location specifies the location of arguments/parameters      (* An arg_location specifies the location of arguments/parameters
15       * for a C call.  Offsets are given with respect to the low end       * for a C call.  Offsets are given with respect to the low end
# Line 23  Line 21 
21        | C_FSTK of (T.fty * T.I.machine_int) (* floating-point argument on the call stack *)        | C_FSTK of (T.fty * T.I.machine_int) (* floating-point argument on the call stack *)
22    
23      val layout : CTypes.c_proto -> {      val layout : CTypes.c_proto -> {
24              argLocs : arg_location list,        (* argument/parameter assignment *)              argLocs : arg_location list list,   (* argument/parameter assignment *)
25              argMem : {szb : int, align : int},  (* memory requirements for stack-allocated *)              argMem : {szb : int, align : int},  (* memory requirements for stack-allocated *)
26                                                  (* arguments; this value can be passed to *)                                                  (* arguments; this value can be passed to *)
27                                                  (* the paramAlloc callback. *)                                                  (* the paramAlloc callback. *)

Legend:
Removed from v.2993  
changed lines
  Added in v.2994

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