Changes in src/CodeGen/Generate.cc [35b1bf4:a61fea9a]
- File:
-
- 1 edited
-
src/CodeGen/Generate.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/Generate.cc
r35b1bf4 ra61fea9a 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Generate.cc -- 7 // Generate.cc -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T hu Jun 4 14:04:25201513 // Update Count : 512 // Last Modified On : Tue Jun 2 11:21:06 2015 13 // Update Count : 2 14 14 // 15 15 … … 26 26 27 27 namespace CodeGen { 28 void generate( std::list< Declaration* > translationUnit, std::ostream &os, bool doIntrinsics , bool pretty) {29 CodeGen::CodeGenerator cgv( os, pretty);28 void generate( std::list< Declaration* > translationUnit, std::ostream &os, bool doIntrinsics ) { 29 CodeGen::CodeGenerator2 cgv( os ); 30 30 31 31 for ( std::list<Declaration *>::iterator i = translationUnit.begin(); i != translationUnit.end(); i++ ) { 32 32 if ( LinkageSpec::isGeneratable( (*i)->get_linkage() ) && (doIntrinsics || ! LinkageSpec::isBuiltin( (*i)->get_linkage() ) ) ) { 33 33 (*i)->accept(cgv); 34 cgv.shift_left(); 34 35 if ( doSemicolon( *i ) ) { 35 36 os << ";";
Note:
See TracChangeset
for help on using the changeset viewer.