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/branches/SMLNJ/src/MLRISC/gc-safety/gc-map.sml
ViewVC logotype

View of /sml/branches/SMLNJ/src/MLRISC/gc-safety/gc-map.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 474 - (download) (annotate)
Wed Nov 10 22:59:58 1999 UTC (20 years, 10 months ago)
File size: 388 byte(s)
This commit was manufactured by cvs2svn to create branch 'SMLNJ'.
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