Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    r5809461 r135b431  
    246246        labelAddressExpr->set_env( maybeMutate( labelAddressExpr->get_env(), *this ) );
    247247        labelAddressExpr->set_result( maybeMutate( labelAddressExpr->get_result(), *this ) );
     248        labelAddressExpr->set_arg( maybeMutate( labelAddressExpr->get_arg(), *this ) );
    248249        return labelAddressExpr;
    249250}
     
    501502}
    502503
    503 Type * Mutator::mutate( ReferenceType * refType ) {
    504         mutateAll( refType->get_forall(), *this );
    505         refType->set_base( maybeMutate( refType->get_base(), *this ) );
    506         return refType;
    507 }
    508 
    509 Type * Mutator::mutate( FunctionType * functionType ) {
     504Type * Mutator::mutate( FunctionType *functionType ) {
    510505        mutateAll( functionType->get_forall(), *this );
    511506        mutateAll( functionType->get_returnVals(), *this );
     
    537532Type * Mutator::mutate( TraitInstType *aggregateUseType ) {
    538533        handleReferenceToType( aggregateUseType );
     534        mutateAll( aggregateUseType->get_members(), *this );
    539535        return aggregateUseType;
    540536}
Note: See TracChangeset for help on using the changeset viewer.