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/releases/release-110.37/src/cm/semant/sharing.sml
ViewVC logotype

View of /sml/releases/release-110.37/src/cm/semant/sharing.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 994 - (download) (annotate)
Fri Nov 23 02:37:10 2001 UTC (19 years, 10 months ago)
File size: 580 byte(s)
This commit was manufactured by cvs2svn to create tag
'release-110.37'.
(*
 * Module-level value-sharing in CM.
 *
 * (C) 1999 Lucent Technologies, Bell Laboratories
 *
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
 *)
structure Sharing = struct

    (* the "request" corresponds to the class specified in the .cm file *)
    datatype request = PRIVATE | SHARED | DONTCARE

    (* the "mode" (i.e., what CM actually uses) is determined by
     * taking both "request" and the modes of predecessors in the
     * dependency graph into account. *)
    datatype mode =
	SHARE of bool			(* true: warn if sharing is broken *)
      | DONTSHARE
end

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