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

SCM Repository

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

Diff of /branches/pure-cfg/src/compiler/low-il/check-low-il.sml

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

revision 821, Wed Apr 13 23:17:35 2011 UTC revision 822, Thu Apr 14 14:24:20 2011 UTC
# Line 48  Line 48 
48              | Op.CL => raise Fail "Op.CL unimplemented"              | Op.CL => raise Fail "Op.CL unimplemented"
49              | Op.PrincipleEvec _ => raise Fail "Op.PrincipleEvec unimplemented"              | Op.PrincipleEvec _ => raise Fail "Op.PrincipleEvec unimplemented"
50              | Op.Identity d => (Ty.TensorTy[d,d], [])              | Op.Identity d => (Ty.TensorTy[d,d], [])
51                | Op.Zero ty => (ty, [])
52              | Op.Trace d => (Ty.realTy, [Ty.TensorTy[d, d]])              | Op.Trace d => (Ty.realTy, [Ty.TensorTy[d, d]])
53              | Op.Subscript(Ty.IVecTy d) => (Ty.intTy, [Ty.IVecTy d, Ty.intTy])              | Op.Subscript(Ty.IVecTy d) => (Ty.intTy, [Ty.IVecTy d, Ty.intTy])
54              | Op.Subscript(ty as Ty.TensorTy dd) => (Ty.realTy, ty :: List.map (fn _ => Ty.intTy) dd)              | Op.Subscript(ty as Ty.TensorTy dd) => (Ty.realTy, ty :: List.map (fn _ => Ty.intTy) dd)

Legend:
Removed from v.821  
changed lines
  Added in v.822

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