Changeset 141b786 for src/main.cc


Ignore:
Timestamp:
Nov 9, 2016, 2:21:05 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
b726084
Parents:
23bb1b9
Message:

rework UniqueExpr?, handle UniqueExpr? in FixInit?, fix translation for UniqueExprs?, refactor explode functions and fix AddressExpr? distribution over exploded tuple exprs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r23bb1b9 r141b786  
    251251                } // if
    252252
    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 );
    255 
    256253                // fix ObjectDecl - replaces ConstructorInit nodes
    257254                OPTPRINT( "fixInit" )
     
    261258                        return 0;
    262259                } // if
     260
     261                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
     262                Tuples::expandUniqueExpr( translationUnit );
    263263
    264264                OPTPRINT("instantiateGenerics")
Note: See TracChangeset for help on using the changeset viewer.