Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    r89e6ffc r8688ce1  
    339339}
    340340
    341 Expression* Mutator::mutate( ConstructorExpr *ctorExpr ) {
    342         mutateAll( ctorExpr->get_results(), *this );
    343         ctorExpr->set_callExpr( maybeMutate( ctorExpr->get_callExpr(), *this ) );
    344         return ctorExpr;
     341Expression *Mutator::mutate( UntypedValofExpr *valofExpr ) {
     342        mutateAll( valofExpr->get_results(), *this );
     343        return valofExpr;
    345344}
    346345
     
    350349        compLitExpr->set_initializer( maybeMutate( compLitExpr->get_initializer(), *this ) );
    351350        return compLitExpr;
    352 }
    353 
    354 Expression *Mutator::mutate( UntypedValofExpr *valofExpr ) {
    355         mutateAll( valofExpr->get_results(), *this );
    356         return valofExpr;
    357351}
    358352
     
    453447}
    454448
    455 Type *Mutator::mutate( ZeroType *zeroType ) {
    456         mutateAll( zeroType->get_forall(), *this );
    457         return zeroType;
    458 }
    459 
    460 Type *Mutator::mutate( OneType *oneType ) {
    461         mutateAll( oneType->get_forall(), *this );
    462         return oneType;
    463 }
    464 
    465449Initializer *Mutator::mutate( SingleInit *singleInit ) {
    466450        singleInit->set_value( singleInit->get_value()->acceptMutator( *this ) );
Note: See TracChangeset for help on using the changeset viewer.