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 /MLRISC/releases/release-110.64/gc-safety/gc-map.sml
ViewVC logotype

View of /MLRISC/releases/release-110.64/gc-safety/gc-map.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 473 - (download) (annotate)
Wed Nov 10 22:54:26 1999 UTC (19 years, 10 months ago) by monnier
Original Path: sml/trunk/src/MLRISC/gc-safety/gc-map.sml
File size: 388 byte(s)
Initial revision
functor GCMap(GC : GC_TYPE) : GC_MAP =
struct

   structure GC = GC
   exception GCMap
   type gcmap = GC.gctype Intmap.intmap

   val GCMAP       = Annotations.new NONE : gcmap Annotations.property
   val GCSAFEPOINT = Annotations.newFlag ""

   fun toString gcmap =
   let val lookup = Intmap.map gcmap
       fun f r = "{"^GC.toString(lookup r)^"}" handle _ => "{?}"
   in  f end

end

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