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

SCM Repository

[diderot] Diff of /trunk/src/compiler/mid-il/mid-il-types.sml
ViewVC logotype

Diff of /trunk/src/compiler/mid-il/mid-il-types.sml

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

revision 426, Mon Oct 18 18:49:55 2010 UTC revision 427, Mon Oct 18 19:35:52 2010 UTC
# Line 16  Line 16 
16        | AddrTy                  (* voxel address *)        | AddrTy                  (* voxel address *)
17        | ImageTy        | ImageTy
18    
19      val intTy = IVecTy 0      val intTy = IVecTy 1
20      val realTy = VecTy 0      val realTy = VecTy 1
21    
22      fun same (ty1 : ty, ty2) = (ty1 = ty2)      fun same (ty1 : ty, ty2) = (ty1 = ty2)
23    
# Line 30  Line 30 
30    
31      fun toString BoolTy = "bool"      fun toString BoolTy = "bool"
32        | toString StringTy = "string"        | toString StringTy = "string"
33        | toString (IVecTy 0) = "int"        | toString (IVecTy 1) = "int"
34        | toString (IVecTy d) = "int" ^ Int.toString d        | toString (IVecTy d) = "int" ^ Int.toString d
35        | toString (VecTy 0) = "real"        | toString (VecTy 1) = "real"
36        | toString (VecTy d) = "real" ^ Int.toString d        | toString (VecTy d) = "real" ^ Int.toString d
37        | toString AddrTy = "addr"        | toString AddrTy = "addr"
38        | toString ImageTy = "image"        | toString ImageTy = "image"

Legend:
Removed from v.426  
changed lines
  Added in v.427

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