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

View of /sml/trunk/src/cm/semant/sharing.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (download) (annotate)
Thu Jun 1 18:34:03 2000 UTC (19 years, 7 months ago) by monnier
File size: 580 byte(s)
bring revisions from the vendor branch to the trunk
(*
 * 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