Changeset 9e23b446 for src/main.cc


Ignore:
Timestamp:
Jul 25, 2022, 2:23:00 PM (2 years ago)
Author:
Fangren Yu <f37yu@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
ffec1bf
Parents:
76a798d
Message:

add specialize pass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r76a798d r9e23b446  
    449449                        PASS( "Translate Tries", ControlStruct::translateTries( transUnit ) );
    450450                        PASS( "Gen Waitfor", Concurrency::generateWaitFor( transUnit ) );
     451                        PASS( "Convert Specializations",  GenPoly::convertSpecializations( transUnit ) ); // needs to happen before tuple types are expanded
     452
    451453
    452454                        translationUnit = convert( move( transUnit ) );
     
    520522                        PASS( "Translate Tries", ControlStruct::translateTries( translationUnit ) );
    521523                        PASS( "Gen Waitfor", Concurrency::generateWaitFor( translationUnit ) );
     524                        PASS( "Convert Specializations",  GenPoly::convertSpecializations( translationUnit ) ); // needs to happen before tuple types are expanded
     525
    522526                }
    523527
    524                 PASS( "Convert Specializations",  GenPoly::convertSpecializations( translationUnit ) ); // needs to happen before tuple types are expanded
     528
     529                // PASS( "Convert Specializations",  GenPoly::convertSpecializations( translationUnit ) ); // needs to happen before tuple types are expanded
    525530
    526531                PASS( "Expand Tuples", Tuples::expandTuples( translationUnit ) ); // xxx - is this the right place for this?
Note: See TracChangeset for help on using the changeset viewer.