Changeset 2174191 for src/main.cc


Ignore:
Timestamp:
Nov 11, 2023, 7:43:14 AM (7 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
fc12f05
Parents:
2da12ae (diff), 61efa42 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r2da12ae r2174191  
    250250
    251251        parse_cmdline( argc, argv );                                            // process command-line arguments
    252         CodeGen::FixMain::setReplaceMain( !nomainp );
    253252
    254253        if ( waiting_for_gdb ) {
     
    394393                PASS( "Translate Tries", ControlStruct::translateTries, transUnit );
    395394                PASS( "Gen Waitfor", Concurrency::generateWaitFor, transUnit );
     395                PASS( "Fix Main Linkage", CodeGen::fixMainLinkage, transUnit, !nomainp );
    396396
    397397                // Needs to happen before tuple types are expanded.
     
    421421
    422422                PASS( "Code Gen", CodeGen::generate, transUnit, *output, !genproto, prettycodegenp, true, linemarks, false );
    423 
    424                 CodeGen::FixMain::fix( transUnit, *output, (PreludeDirector + "/bootloader.c").c_str() );
     423                CodeGen::fixMainInvoke( transUnit, *output, (PreludeDirector + "/bootloader.c").c_str() );
     424
    425425                if ( output != &cout ) {
    426426                        delete output;
Note: See TracChangeset for help on using the changeset viewer.