Changeset 1f44196 for src/main.cc


Ignore:
Timestamp:
Nov 29, 2016, 3:30:59 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
8e5724e
Parents:
3a2128f (diff), 9129a84 (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 plg2:software/cfa/cfa-cc

Conflicts:

src/Parser/parser.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r3a2128f r1f44196  
    4343#include "Common/UnimplementedError.h"
    4444#include "../config.h"
     45#include "Tuples/Tuples.h"
    4546
    4647using namespace std;
     
    236237                OPTPRINT( "tweakInit" )
    237238                InitTweak::genInit( translationUnit );
    238 
     239                OPTPRINT( "expandMemberTuples" );
     240                Tuples::expandMemberTuples( translationUnit );
    239241                if ( libcfap ) {
    240242                        // generate the bodies of cfa library functions
     
    261263                        return 0;
    262264                } // if
     265
     266                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 - needs to go after InitTweak::fix so that copy constructed return declarations are reused
     267                Tuples::expandUniqueExpr( translationUnit );
    263268
    264269                OPTPRINT("instantiateGenerics")
     
    277282                OPTPRINT( "box" )
    278283                GenPoly::box( translationUnit );
     284                OPTPRINT( "expandTuples" ); // xxx - is this the right place for this?
     285                Tuples::expandTuples( translationUnit );
    279286
    280287                // print tree right before code generation
Note: See TracChangeset for help on using the changeset viewer.