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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/cxx-util/tree-to-cxx.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/cxx-util/tree-to-cxx.sml

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

revision 4064, Mon Jun 27 22:18:26 2016 UTC revision 4065, Tue Jun 28 00:21:50 2016 UTC
# Line 77  Line 77 
77    (* make an application of a function from the "diderot" namespace *)    (* make an application of a function from the "diderot" namespace *)
78      fun mkDiderotApply (f, args) = CL.mkApply("diderot::" ^ f, args)      fun mkDiderotApply (f, args) = CL.mkApply("diderot::" ^ f, args)
79      fun mkDiderotCall (f, args) = CL.mkCall("diderot::" ^ f, args)      fun mkDiderotCall (f, args) = CL.mkCall("diderot::" ^ f, args)
80      fun mkDynseqApply (env, ty, f, args) = CL.mkTemplateApply(f, [dynseqTy(env, ty)], args)      fun mkDynseqApply (env, ty, f, args) =
81              CL.mkQApply([CL.SC_Type(dynseqTy(env, ty))], f, args)
82    
83    (* Translate a TreeIR operator application to a CLang expression *)    (* Translate a TreeIR operator application to a CLang expression *)
84      fun trOp (env, rator, args) = (case (rator, args)      fun trOp (env, rator, args) = (case (rator, args)

Legend:
Removed from v.4064  
changed lines
  Added in v.4065

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