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/gen-library-interface.sml
ViewVC logotype

Diff of /branches/vis12/src/compiler/c-util/gen-library-interface.sml

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

revision 1713, Fri Mar 9 21:37:19 2012 UTC revision 1793, Thu Apr 5 09:53:28 2012 UTC
# Line 44  Line 44 
44              | Ty.SeqTy(Ty.IntTy, n) => CL.T_Array(!N.gIntTy, SOME n)              | Ty.SeqTy(Ty.IntTy, n) => CL.T_Array(!N.gIntTy, SOME n)
45              | Ty.SeqTy(ty, n) => CL.T_Array(trType ty, SOME n)              | Ty.SeqTy(ty, n) => CL.T_Array(trType ty, SOME n)
46              | Ty.DynSeqTy _ => CL.T_Ptr(CL.T_Named N.dynSeqTy)              | Ty.DynSeqTy _ => CL.T_Ptr(CL.T_Named N.dynSeqTy)
47              | Ty.AddrTy(ImageInfo.ImgInfo{ty=(_, rTy), ...}) => CL.T_Ptr(CL.T_Num rTy)              | Ty.AddrTy info => CL.T_Ptr(CL.T_Num(ImageInfo.sampleTy info))
48              | Ty.ImageTy(ImageInfo.ImgInfo{dim, ...}) => CL.T_Ptr(CL.T_Named(N.imageTy dim))              | Ty.ImageTy info => CL.T_Ptr(CL.T_Named(N.imageTy(ImageInfo.dim info)))
49              | _ => raise Fail(concat["GenLibraryInterface.trType(", Ty.toString ty, ")"])              | _ => raise Fail(concat["GenLibraryInterface.trType(", Ty.toString ty, ")"])
50            (* end case *))            (* end case *))
51    

Legend:
Removed from v.1713  
changed lines
  Added in v.1793

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