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

SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/high-il/move-sums.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/high-il/move-sums.sml

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

revision 2866, Thu Feb 5 22:39:59 2015 UTC revision 2867, Tue Feb 10 06:52:58 2015 UTC
# Line 44  Line 44 
44              | E.Partial (shape)         => findIndex(c,shape)              | E.Partial (shape)         => findIndex(c,shape)
45              | E.Neg a                   => foundSx(c,a)              | E.Neg a                   => foundSx(c,a)
46              | E.Lift a                  => foundSx(c,a)              | E.Lift a                  => foundSx(c,a)
47                | E.Sqrt a                  => foundSx(c,a)
48              | E.Sum(_,a)                => foundSx(c,a)              | E.Sum(_,a)                => foundSx(c,a)
49              | E.Apply(e1,e2)            => sort([e1,e2])              | E.Apply(e1,e2)            => sort([e1,e2])
50              | E.Sub(e1,e2)              => sort([e1,e2])              | E.Sub(e1,e2)              => sort([e1,e2])
# Line 138  Line 139 
139          | E.Apply(e1,e2)  => E.Apply(rewriteBody e1, rewriteBody e2)          | E.Apply(e1,e2)  => E.Apply(rewriteBody e1, rewriteBody e2)
140          | E.Probe(e1,e2)  => E.Probe(e1, rewriteBody e2)          | E.Probe(e1,e2)  => E.Probe(e1, rewriteBody e2)
141          | E.Lift e        => E.Lift(rewriteBody e)          | E.Lift e        => E.Lift(rewriteBody e)
142            | E.Sqrt e        => E.Sqrt(rewriteBody e)
143          | E.Sum (sx,E.Prod[e]) => shiftSum(sx,[e])          | E.Sum (sx,E.Prod[e]) => shiftSum(sx,[e])
144          | E.Sum(sx,E.Prod e)   => shiftSum(sx,e)          | E.Sum(sx,E.Prod e)   => shiftSum(sx,e)
145          | E.Sum (sx,e)         => shiftSum(sx,[e])          | E.Sum (sx,e)         => shiftSum(sx,[e])

Legend:
Removed from v.2866  
changed lines
  Added in v.2867

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