Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    rb542bfb rf0121d7  
    4242#include "Common/UnimplementedError.h"
    4343#include "../config.h"
     44#include "Tuples/Tuples.h"
    4445
    4546using namespace std;
     
    231232                OPTPRINT( "tweakInit" )
    232233                InitTweak::genInit( translationUnit );
    233 
     234                OPTPRINT( "expandMemberTuples" );
     235                Tuples::expandMemberTuples( translationUnit );
    234236                if ( libcfap ) {
    235237                        // generate the bodies of cfa library functions
     
    248250                        return 0;
    249251                } // if
     252
     253                OPTPRINT( "expandUniqueExpr" ); // xxx - is this the right place for this? want to expand ASAP so that subsequent passes don't need to worry about double-visiting a unique expr
     254                Tuples::expandUniqueExpr( translationUnit );
    250255
    251256                // fix ObjectDecl - replaces ConstructorInit nodes
     
    272277                OPTPRINT( "box" )
    273278                GenPoly::box( translationUnit );
     279                OPTPRINT( "expandTuples" ); // xxx - is this the right place for this?
     280                Tuples::expandTuples( translationUnit );
    274281
    275282                // print tree right before code generation
Note: See TracChangeset for help on using the changeset viewer.