Changes in src/GenPoly/PolyMutator.cc [25a8631:45a4ea7]
- File:
-
- 1 edited
-
src/GenPoly/PolyMutator.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/PolyMutator.cc
r25a8631 r45a4ea7 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Thu Jun 22 13:47:00 201713 // Update Count : 1 711 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Aug 4 11:26:22 2016 13 // Update Count : 16 14 14 // 15 15 … … 123 123 124 124 Statement * PolyMutator::mutate(TryStmt *tryStmt) { 125 tryStmt->set_block( maybeMutate( tryStmt->get_block(), *this ) );125 tryStmt->set_block( maybeMutate( tryStmt->get_block(), *this ) ); 126 126 mutateAll( tryStmt->get_catchers(), *this ); 127 tryStmt->set_finally( maybeMutate( tryStmt->get_finally(), *this ) );128 127 return tryStmt; 129 128 } 130 129 131 130 Statement * PolyMutator::mutate(CatchStmt *cathStmt) { 132 cathStmt->set_body( mutateStatement( cathStmt->get_body() ) ); 133 cathStmt->set_cond( maybeMutate( cathStmt->get_cond(), *this ) ); 134 cathStmt->set_decl( maybeMutate( cathStmt->get_decl(), *this ) ); 131 cathStmt->set_body( mutateStatement( cathStmt->get_body() ) ); 132 cathStmt->set_decl( maybeMutate( cathStmt->get_decl(), *this ) ); 135 133 return cathStmt; 136 134 }
Note:
See TracChangeset
for help on using the changeset viewer.