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

SCM Repository

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

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

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

revision 851, Tue Apr 19 15:52:07 2011 UTC revision 852, Tue Apr 19 16:33:09 2011 UTC
# Line 55  Line 55 
55              | Op.Trunc d => (Ty.vecTy d, [Ty.vecTy d])              | Op.Trunc d => (Ty.vecTy d, [Ty.vecTy d])
56              | Op.IntToReal => (Ty.realTy, [Ty.intTy])              | Op.IntToReal => (Ty.realTy, [Ty.intTy])
57              | Op.RealToInt d => (Ty.IVecTy d, [Ty.vecTy d])              | Op.RealToInt d => (Ty.IVecTy d, [Ty.vecTy d])
58              | Op.VoxelAddress info => let              | Op.VoxelAddress(info, offset) => let
59                  val dim = ImageInfo.dim info                  val dim = ImageInfo.dim info
60                  in                  in
61                    (Ty.AddrTy info, Ty.ImageTy info :: List.tabulate(dim, fn _ => Ty.intTy))                    (Ty.AddrTy info, Ty.ImageTy info :: List.tabulate(dim, fn _ => Ty.intTy))

Legend:
Removed from v.851  
changed lines
  Added in v.852

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