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/MLRISC/gc-safety/gc-cells.sig
ViewVC logotype

View of /sml/trunk/src/MLRISC/gc-safety/gc-cells.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 476 - (download) (as text) (annotate)
Wed Nov 10 22:59:58 1999 UTC (19 years, 10 months ago) by monnier
File size: 696 byte(s)
This commit was generated by cvs2svn to compensate for changes in r475,
which included commits to RCS files with non-trunk default branches.
(*
 * This module provides few helper functions for annotating virtual registers
 * with gc type information. 
 *)

signature GC_CELLS =
sig

   structure C  : CELLS
   structure GC : GC_TYPE
   structure GCMap : GC_MAP
      sharing GCMap.GC = GC

   val newGCMap : unit -> GCMap.gcmap  (* create a new gc map *)
   val setGCMap : GCMap.gcmap -> unit  (* set the current gc map *)
   val getGCMap : unit -> GCMap.gcmap  (* get the current gc map *)

   (*
    * Generate a virtual register and update the gc map at the same time.
    * Important note: the gc map must be set by setGCMap before this 
    * function can be invoked.
    *)
   val newCell  : C.cellkind -> GC.gctype -> C.cell

end

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