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/x86/c-calls/ia32-svid.sml
ViewVC logotype

Diff of /sml/trunk/src/MLRISC/x86/c-calls/ia32-svid.sml

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

revision 1522, Tue Jul 6 17:09:21 2004 UTC revision 1523, Tue Jul 6 19:48:33 2004 UTC
# Line 115  Line 115 
115        val twoRes = [gpr(32, C.edx), gpr(32, C.eax)]        val twoRes = [gpr(32, C.edx), gpr(32, C.eax)]
116      in      in
117    (* List of registers defined by a C Call; this is the result registers    (* List of registers defined by a C Call; this is the result registers
118     * plus the caller save registers.     * plus the caller-save registers.
119     * Multiple returns have most significant register first.     * Multiple returns have most significant register first.
120     *)     *)
121      fun resultsAndDefs (Ty.C_void) = ([], callerSaves)      fun resultsAndDefs (Ty.C_void) = ([], callerSaves)
# Line 141  Line 141 
141     * low end of the parameter area (see paramAreaOffset above).     * low end of the parameter area (see paramAreaOffset above).
142     *)     *)
143      datatype arg_location      datatype arg_location
144        = Reg of T.ty * T.reg             (* integer/pointer argument in register *)        = Reg of T.ty * T.reg * T.I.machine_int option
145        | FReg of T.fty * T.reg           (* floating-point argument in register *)                                          (* integer/pointer argument in register *)
146          | FReg of T.fty * T.freg * T.I.machine_int option
147                                            (* floating-point argument in register *)
148        | Stk of T.ty * T.I.machine_int   (* integer/pointer argument in parameter area *)        | Stk of T.ty * T.I.machine_int   (* integer/pointer argument in parameter area *)
149        | FStk of T.fty * T.I.machine_int (* floating-point argument in parameter area *)        | FStk of T.fty * T.I.machine_int (* floating-point argument in parameter area *)
150        | Args of arg_location list        | Args of arg_location list

Legend:
Removed from v.1522  
changed lines
  Added in v.1523

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