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

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/c-util/c-ty-translate.sml
ViewVC logotype

Diff of /branches/vis12/src/compiler/c-util/c-ty-translate.sml

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

revision 1820, Wed Apr 11 10:53:15 2012 UTC revision 1857, Fri Apr 20 19:58:00 2012 UTC
# Line 136  Line 136 
136             of Ty.BoolTy => [CL.mkAssign(dst, src)]             of Ty.BoolTy => [CL.mkAssign(dst, src)]
137              | Ty.StringTy => [CL.mkAssign(dst, src)]              | Ty.StringTy => [CL.mkAssign(dst, src)]
138              | Ty.IntTy => [CL.mkAssign(dst, src)]              | Ty.IntTy => [CL.mkAssign(dst, src)]
139                | Ty.TensorTy[] => [CL.mkAssign(dst, src)]
140              | Ty.TensorTy[n] => [CL.mkAssign(              | Ty.TensorTy[n] => [CL.mkAssign(
141                  CL.mkSelect(dst, "v"),                  CL.mkSelect(dst, "v"),
142                  CL.mkApply(N.mkVec n, List.tabulate(n, fn i => subscript(src, i))))]                  CL.mkApply(N.mkVec n, List.tabulate(n, fn i => subscript(src, i))))]

Legend:
Removed from v.1820  
changed lines
  Added in v.1857

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