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

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/translate/translate.sml
ViewVC logotype

Diff of /branches/vis12/src/compiler/translate/translate.sml

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

revision 1942, Tue Jul 3 15:22:53 2012 UTC revision 1943, Thu Jul 5 16:29:06 2012 UTC
# Line 216  Line 216 
216                        [IL.ASSGN(lhs, IL.OP(HighOps.IntToReal, [lookup env x]))]                        [IL.ASSGN(lhs, IL.OP(HighOps.IntToReal, [lookup env x]))]
217                    | (Ty.T_Sequence(ty, Ty.DimConst n), Ty.T_DynSequence _) =>                    | (Ty.T_Sequence(ty, Ty.DimConst n), Ty.T_DynSequence _) =>
218                        [IL.ASSGN(lhs, IL.OP(HighOps.MkDynamic(cvtTy ty, n), [lookup env x]))]                        [IL.ASSGN(lhs, IL.OP(HighOps.MkDynamic(cvtTy ty, n), [lookup env x]))]
219                    | (Ty.T_Tensor _, Ty.T_Tensor _) =>                    | (Ty.T_Field _, Ty.T_Field _) =>
220                      (* change in continuity is a no-op *)                      (* change in continuity is a no-op *)
221                        [IL.ASSGN(lhs, IL.VAR(lookup env x))]                        [IL.ASSGN(lhs, IL.VAR(lookup env x))]
222                    | _ => raise Fail "unsupported type coercion"                    | _ => raise Fail "unsupported type coercion"

Legend:
Removed from v.1942  
changed lines
  Added in v.1943

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