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

SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/translate/translate-basis.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/translate/translate-basis.sml

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

revision 2611, Mon May 5 21:21:12 2014 UTC revision 2628, Wed May 21 04:02:06 2014 UTC
# Line 289  Line 289 
289                  (BV.i2r,                simpleOp Op.IntToReal),                  (BV.i2r,                simpleOp Op.IntToReal),
290                  (BV.identity,           fn (y, [Ty.DIM d], xs) =>                  (BV.identity,           fn (y, [Ty.DIM d], xs) =>
291                                            [assignEin(y, (mk.identity d), xs)]),                                            [assignEin(y, (mk.identity d), xs)]),
292               (*   (BV.zero,               fn (y, [sv], []) =>                 (BV.zero,               fn (y, [sv], []) =>
293                                            assign(y, Op.Zero(shapeVarToTensor sv), [])),*)                                            assign(y, Op.Zero(shapeVarToTensor sv), [])),
294                  (BV.subscript,          fn (y, [ty, Ty.DIM d], xs) =>                  (BV.subscript,          fn (y, [ty, Ty.DIM d], xs) =>
295                                            assign (y, Op.SeqSub(DstTy.SeqTy(trType ty, d)), xs))                                            assign (y, Op.SeqSub(DstTy.SeqTy(trType ty, d)), xs))
296  (*,  (*,

Legend:
Removed from v.2611  
changed lines
  Added in v.2628

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