Changeset 8e48fca4 for src/main.cc


Ignore:
Timestamp:
Oct 29, 2021, 4:47:16 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
e58e423
Parents:
0c577f7
Message:

Combined the code in FixMain? so it is all done with one pass.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r0c577f7 r8e48fca4  
    1010// Created On       : Fri May 15 23:12:02 2015
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Fri Oct 29 10:10:00 2021
    13 // Update Count     : 654
     12// Last Modified On : Fri Oct 29 16:34:00 2021
     13// Update Count     : 655
    1414//
    1515
     
    472472                PASS( "Code Gen", CodeGen::generate( translationUnit, *output, ! genproto, prettycodegenp, true, linemarks ) );
    473473
    474                 CodeGen::FixMain::findMain( translationUnit );
    475                 CodeGen::FixMain::fix( *output, (PreludeDirector + "/bootloader.c").c_str() );
     474                CodeGen::FixMain::fix( translationUnit, *output,
     475                                (PreludeDirector + "/bootloader.c").c_str() );
    476476                if ( output != &cout ) {
    477477                        delete output;
Note: See TracChangeset for help on using the changeset viewer.