Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/Generate.cc

    rc850687 r262f085f  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Wed May 19 13:05:00 2017
    13 // Update Count     : 6
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Thu Jun  4 14:04:25 2015
     13// Update Count     : 5
    1414//
    1515
     
    3131
    3232namespace CodeGen {
    33         void generate( std::list< Declaration* > translationUnit, std::ostream &os, bool doIntrinsics, bool pretty, bool generateC, bool lineMarks ) {
    34                 CodeGen::CodeGenerator cgv( os, pretty, generateC, lineMarks );
     33        void generate( std::list< Declaration* > translationUnit, std::ostream &os, bool doIntrinsics, bool pretty, bool generateC ) {
     34                CodeGen::CodeGenerator cgv( os, pretty, generateC );
    3535                for ( auto & dcl : translationUnit ) {
    3636                        if ( LinkageSpec::isGeneratable( dcl->get_linkage() ) && (doIntrinsics || ! LinkageSpec::isBuiltin( dcl->get_linkage() ) ) ) {
    37                                 os << cgv.lineDirective(dcl);
    3837                                dcl->accept(cgv);
    3938                                if ( doSemicolon( dcl ) ) {
     
    4948                        os << CodeGen::genPrettyType( type, "" );
    5049                } else {
    51                         CodeGen::CodeGenerator cgv( os, true, false, false );
     50                        CodeGen::CodeGenerator cgv( os, true, false );
    5251                        node->accept( cgv );
    5352                }
Note: See TracChangeset for help on using the changeset viewer.