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

SCM Repository

[smlnj] View of /sml/trunk/src/compiler/CodeGen/cpscompile/mkRecord.sig
ViewVC logotype

View of /sml/trunk/src/compiler/CodeGen/cpscompile/mkRecord.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 585 - (download) (as text) (annotate)
Wed Mar 29 23:55:35 2000 UTC (19 years, 5 months ago) by leunga
File size: 823 byte(s)

   This update contains major changes to the code generator and various
back ends.  Please see the entry leunga-20000327-mlriscGen_hppa_alpha_x86
in the file sml/HISTORY for details.
(* mk-record.sig --- translate a CPS.RECORD to MLRISC
 *
 * COPYRIGHT (c) 1996 AT&T Bell Laboratories.
 *
 *)

signature MK_RECORD = sig
  structure T : MLTREE

  val record : 
    {desc     : T.rexp, 
     fields   : (T.rexp * CPS.accesspath) list,
     mem      : CPSRegions.region,
     hp       : int,              (* heap pointer offset (from allocptr) *)
     emit     : T.stm -> unit,
     markPTR  : T.rexp -> T.rexp, (* mark this as an ml object ptr (for gc) *) 
     markComp : T.rexp -> T.rexp  (* mark the component type (for gc) *)
    } -> int

  val frecord : 
    {desc     : T.rexp, 
     fields   : (T.mlrisc * CPS.accesspath) list,
     mem      : CPSRegions.region,
     hp       : int,
     emit     : T.stm -> unit,
     markPTR  : T.rexp -> T.rexp,
     markComp : T.fexp -> T.fexp
    } -> int
end


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