Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/compiler/IL/ssa-fn.sml
ViewVC logotype

Diff of /branches/pure-cfg/src/compiler/IL/ssa-fn.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 648, Fri Mar 18 14:45:04 2011 UTC revision 649, Fri Mar 18 15:47:56 2011 UTC
# Line 202  Line 202 
202    (* operations on variables *)    (* operations on variables *)
203      structure Var : sig      structure Var : sig
204          val new : string * Ty.ty -> var          val new : string * Ty.ty -> var
205            val copy : var -> var
206          val name : var -> string          val name : var -> string
207          val ty : var -> Ty.ty          val ty : var -> Ty.ty
208          val binding : var -> var_bind          val binding : var -> var_bind
# Line 370  Line 371 
371                  useCnt = ref 0,                  useCnt = ref 0,
372                  props = PropList.newHolder()                  props = PropList.newHolder()
373                }                }
374            fun copy (V{name, ty, ...}) = new (name, ty)
375          fun name (V{name, ...}) = name          fun name (V{name, ...}) = name
376          fun ty (V{ty, ...}) = ty          fun ty (V{ty, ...}) = ty
377          fun binding (V{bind, ...}) = !bind          fun binding (V{bind, ...}) = !bind

Legend:
Removed from v.648  
changed lines
  Added in v.649

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