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