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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/compiler/high-il/high-opt.sml
ViewVC logotype

Diff of /branches/pure-cfg/src/compiler/high-il/high-opt.sml

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

revision 516, Wed Feb 9 23:10:31 2011 UTC revision 613, Sat Mar 12 19:29:23 2011 UTC
# Line 124  Line 124 
124              loop (Stats.sum{from=firstCounter, to=lastCounter})              loop (Stats.sum{from=firstCounter, to=lastCounter})
125            end            end
126    
127      fun optimize (prog as IL.Program{globals, globalInit, strands}) = let      fun optimize (prog as IL.Program{globals, globalInit, initially, strands}) = let
128            fun doCFG cfg = (            fun doCFG cfg = (
129                  loopToFixPt simplify cfg;                  loopToFixPt simplify cfg;
130                  loopToFixPt reduce cfg)                  loopToFixPt reduce cfg)
# Line 138  Line 138 
138              IL.Program{              IL.Program{
139                  globals = globals,                  globals = globals,
140                  globalInit = globalInit,                  globalInit = globalInit,
141                    initially = initially,  (* FIXME: we should optimize this code *)
142                  strands = strands                  strands = strands
143                }                }
144            end            end

Legend:
Removed from v.516  
changed lines
  Added in v.613

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