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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/translate/analyze-simple.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/translate/analyze-simple.sml

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

revision 3994, Sat Jun 18 18:41:33 2016 UTC revision 3995, Sat Jun 18 20:00:19 2016 UTC
# Line 179  Line 179 
179              ()              ()
180            end            end
181    
182      fun analyze (S.Program{constInit, init, strand, create, update, ...}) = let      fun analyze (S.Program{constInit, globInit, strand, create, init, update, ...}) = let
183            val S.Strand{stateInit, initM, updateM, stabilizeM, ...} = strand            val S.Strand{stateInit, initM, updateM, stabilizeM, ...} = strand
184            val S.Create{code, ...} = create            val S.Create{code, ...} = create
185            in            in
186              analyzeBlock ConstInit constInit;              analyzeBlock ConstInit constInit;
187              analyzeBlock GlobalInit init;              analyzeBlock GlobalInit globInit;
188              analyzeBlock StateInit stateInit;              analyzeBlock StateInit stateInit;
189              Option.app (analyzeBlock InitMeth) initM;              Option.app (analyzeBlock InitMeth) initM;
190              analyzeBlock UpdateMeth updateM;              analyzeBlock UpdateMeth updateM;
191              Option.app (analyzeBlock StabilizeMeth) stabilizeM;              Option.app (analyzeBlock StabilizeMeth) stabilizeM;
192              analyzeBlock Create code;              analyzeBlock Create code;
193                Option.app (analyzeBlock GlobalUpdate) init;
194              Option.app (analyzeBlock GlobalUpdate) update              Option.app (analyzeBlock GlobalUpdate) update
195            end            end
196    

Legend:
Removed from v.3994  
changed lines
  Added in v.3995

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