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 388 - (download) (annotate)
Mon Jul 26 02:45:07 1999 UTC (23 years ago) by blume
File size: 580 byte(s)
sharing.sml added
 * 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 *)

ViewVC Help
Powered by ViewVC 1.0.0