Changes in src/SynTree/Mutator.cc [135b431:5809461]
- File:
-
- 1 edited
-
src/SynTree/Mutator.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
r135b431 r5809461 246 246 labelAddressExpr->set_env( maybeMutate( labelAddressExpr->get_env(), *this ) ); 247 247 labelAddressExpr->set_result( maybeMutate( labelAddressExpr->get_result(), *this ) ); 248 labelAddressExpr->set_arg( maybeMutate( labelAddressExpr->get_arg(), *this ) );249 248 return labelAddressExpr; 250 249 } … … 502 501 } 503 502 504 Type * Mutator::mutate( FunctionType *functionType ) { 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 ) { 505 510 mutateAll( functionType->get_forall(), *this ); 506 511 mutateAll( functionType->get_returnVals(), *this ); … … 532 537 Type * Mutator::mutate( TraitInstType *aggregateUseType ) { 533 538 handleReferenceToType( aggregateUseType ); 534 mutateAll( aggregateUseType->get_members(), *this );535 539 return aggregateUseType; 536 540 }
Note:
See TracChangeset
for help on using the changeset viewer.