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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/low-to-tree/low-to-tree.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/low-to-tree/low-to-tree.sml

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

revision 3957, Sun Jun 12 16:49:42 2016 UTC revision 3958, Sun Jun 12 19:51:51 2016 UTC
# Line 344  Line 344 
344                    end                    end
345                | Op.VMapClamp n => bindVOp TOp.VMapClamp                | Op.VMapClamp n => bindVOp TOp.VMapClamp
346                | Op.VLerp n => bindVOp TOp.VLerp                | Op.VLerp n => bindVOp TOp.VLerp
347                | Op.TensorIndex(ty, idxs) => bindOp(TOp.TensorIndex(U.trType ty, idxs))                | Op.TensorIndex(Ty.TensorTy dd, idxs) => let
348                | Op.ProjectLast(ty, idxs) => bindOp(TOp.ProjectLast(U.trType ty, idxs))                    val (args, stms) = simpleArgs (env, args)
349                      in
350                        (Env.TREE(T.E_Op(TOp.TensorIndex(TTy.TensorRefTy dd, idxs), args)), stms)
351                      end
352                  | Op.ProjectLast(Ty.TensorTy dd, idxs) => let
353                      val (args, stms) = simpleArgs (env, args)
354                      in
355                        (Env.TREE(T.E_Op(TOp.ProjectLast(TTy.TensorRefTy dd, idxs), args)), stms)
356                      end
357                | Op.Select(ty, i) => bindOp (TOp.Select(U.trType ty, i))                | Op.Select(ty, i) => bindOp (TOp.Select(U.trType ty, i))
358                | Op.Subscript ty => bindOp (TOp.Subscript(U.trType ty))                | Op.Subscript ty => bindOp (TOp.Subscript(U.trType ty))
359                | Op.MkDynamic(ty, n) => bindOp (TOp.MkDynamic(U.trType ty, n))                | Op.MkDynamic(ty, n) => bindOp (TOp.MkDynamic(U.trType ty, n))

Legend:
Removed from v.3957  
changed lines
  Added in v.3958

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