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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/codegen/clang.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/codegen/clang.sml

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

revision 3995, Sat Jun 18 20:00:19 2016 UTC revision 3996, Sun Jun 19 15:21:12 2016 UTC
# Line 84  Line 84 
84        | D_Typedef of string * ty        | D_Typedef of string * ty
85      (* template declaration *)      (* template declaration *)
86        | D_Template of template_param list * decl        | D_Template of template_param list * decl
87        (* C++ namespace *)
88          | D_Namespace of string * decl list
89    
90      and initializer      and initializer
91        = I_Exp of exp        = I_Exp of exp
# Line 108  Line 110 
110        | S_If of exp * stm * stm         (* 'if' exp stm 'else' stm *)        | S_If of exp * stm * stm         (* 'if' exp stm 'else' stm *)
111        | S_While of exp * stm            (* 'while' exp stm *)        | S_While of exp * stm            (* 'while' exp stm *)
112        | S_DoWhile of stm * exp          (* 'do' stm 'while' exp *)        | S_DoWhile of stm * exp          (* 'do' stm 'while' exp *)
113        | S_For of (ty * var * exp) list * exp * exp list * stm        | S_For of ty * (var * exp) list * exp * exp list * stm
114                                          (* 'for' '(' inits ';' exp ';' incrs ')' stm *)                                          (* 'for' '(' decl ';' exp ';' incrs ')' stm *)
115        | S_KernCall of string * exp list * exp list        | S_KernCall of string * exp list * exp list
116                                          (* f "<<<" ... ">>>" "(" ... ")" [CUDA] *)                                          (* f "<<<" ... ">>>" "(" ... ")" [CUDA] *)
117        | S_Return of exp option          (* 'return' [ exp ] ';' *)        | S_Return of exp option          (* 'return' [ exp ] ';' *)

Legend:
Removed from v.3995  
changed lines
  Added in v.3996

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