Changeset 17c6edeb for src/main.cc


Ignore:
Timestamp:
Aug 16, 2022, 2:52:24 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
71cf630
Parents:
32d1383 (diff), e116db3 (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

    r32d1383 r17c6edeb  
    1010// Created On       : Fri May 15 23:12:02 2015
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Mon Jul 18 11:08:00 2022
    13 // Update Count     : 676
     12// Last Modified On : Thu 11 12:18:00 2022
     13// Update Count     : 677
    1414//
    1515
     
    443443                        PASS( "Convert Specializations",  GenPoly::convertSpecializations( transUnit ) );
    444444
     445                        PASS( "Expand Tuples", Tuples::expandTuples( transUnit ) );
     446
     447                        if ( tuplep ) {
     448                                dump( move( transUnit ) );
     449                                return EXIT_SUCCESS;
     450                        } // if
     451
     452                        // Must come after Translate Tries.
     453                        PASS( "Virtual Expand Casts", Virtual::expandCasts( transUnit ) );
     454
    445455                        translationUnit = convert( move( transUnit ) );
    446456                } else {
     
    517527                        PASS( "Gen Waitfor", Concurrency::generateWaitFor( translationUnit ) );
    518528                        PASS( "Convert Specializations",  GenPoly::convertSpecializations( translationUnit ) ); // needs to happen before tuple types are expanded
     529                        PASS( "Expand Tuples", Tuples::expandTuples( translationUnit ) ); // xxx - is this the right place for this?
     530
     531                        if ( tuplep ) {
     532                                dump( translationUnit );
     533                                return EXIT_SUCCESS;
     534                        } // if
     535
     536                        PASS( "Virtual Expand Casts", Virtual::expandCasts( translationUnit ) ); // Must come after translateEHM
    519537                }
    520 
    521                 PASS( "Expand Tuples", Tuples::expandTuples( translationUnit ) ); // xxx - is this the right place for this?
    522 
    523                 if ( tuplep ) {
    524                         dump( translationUnit );
    525                         return EXIT_SUCCESS;
    526                 } // if
    527 
    528                 PASS( "Virtual Expand Casts", Virtual::expandCasts( translationUnit ) ); // Must come after translateEHM
    529538
    530539                PASS( "Instantiate Generics", GenPoly::instantiateGeneric( translationUnit ) );
Note: See TracChangeset for help on using the changeset viewer.