Changeset 9f5a19fa


Ignore:
Timestamp:
Aug 23, 2021, 3:50:41 PM (3 years ago)
Author:
Henry Xue <y58xue@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
Children:
6c2dc00, af67ee1
Parents:
d249e0b
git-author:
Henry Xue <y58xue@…> (08/23/21 15:43:44)
git-committer:
Henry Xue <y58xue@…> (08/23/21 15:50:41)
Message:

Enable expandMemberTuples new AST pass

Other work still needs to be done (e.g. convert CodeTools? "passes"
to use new AST)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    rd249e0b r9f5a19fa  
    1010// Created On       : Fri May 15 23:12:02 2015
    1111// Last Modified By : Henry Xue
    12 // Last Modified On : Tue Jul 20 04:27:35 2021
    13 // Update Count     : 658
     12// Last Modified On : Mon Aug 23 15:42:08 2021
     13// Update Count     : 650
    1414//
    1515
     
    335335                PASS( "Fix Names", CodeGen::fixNames( translationUnit ) );
    336336                PASS( "Gen Init", InitTweak::genInit( translationUnit ) );
    337                 PASS( "Expand Member Tuples" , Tuples::expandMemberTuples( translationUnit ) );
     337
    338338                if ( libcfap ) {
    339339                        // generate the bodies of cfa library functions
     
    365365                        }
    366366                        auto transUnit = convert( move( translationUnit ) );
     367
     368                        PASS( "Expand Member Tuples" , Tuples::expandMemberTuples( transUnit ) );
     369                       
    367370                        PASS( "Resolve", ResolvExpr::resolve( transUnit ) );
    368371                        if ( exprp ) {
     
    376379                        translationUnit = convert( move( transUnit ) );
    377380                } else {
     381                        PASS( "Expand Member Tuples" , Tuples::expandMemberTuples( translationUnit ) );
     382
    378383                        PASS( "Resolve", ResolvExpr::resolve( translationUnit ) );
    379384                        if ( exprp ) {
Note: See TracChangeset for help on using the changeset viewer.