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/tree-to-c-fn.sml
ViewVC logotype

Diff of /branches/vis12/src/compiler/c-util/tree-to-c-fn.sml

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

revision 1696, Wed Feb 29 12:49:39 2012 UTC revision 1701, Tue Mar 6 12:54:48 2012 UTC
# Line 59  Line 59 
59    
60    (* translate TreeIL types to CLang types *)    (* translate TreeIL types to CLang types *)
61      fun trType ty = (case ty      fun trType ty = (case ty
62             of Ty.BoolTy => CLang.T_Named "bool"             of Ty.BoolTy => CL.T_Named "bool"
63              | Ty.StringTy => CL.charPtr              | Ty.StringTy => CL.charPtr
64              | Ty.IntTy => !N.gIntTy              | Ty.IntTy => !N.gIntTy
65              | Ty.TensorTy[] => !N.gRealTy              | Ty.TensorTy[] => !N.gRealTy

Legend:
Removed from v.1696  
changed lines
  Added in v.1701

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