Changes in src/SynTree/Mutator.cc [7f5566b:1db21619]
- File:
-
- 1 edited
-
src/SynTree/Mutator.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
r7f5566b r1db21619 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jul 25 19:21:33201513 // Update Count : 1112 // Last Modified On : Thu Jul 16 16:10:54 2015 13 // Update Count : 3 14 14 // 15 15 … … 95 95 } 96 96 97 Statement *Mutator::mutate( AsmStmt *asmStmt ) {98 asmStmt->set_instruction( maybeMutate( asmStmt->get_instruction(), *this ) );99 mutateAll( asmStmt->get_output(), *this );100 mutateAll( asmStmt->get_input(), *this );101 mutateAll( asmStmt->get_clobber(), *this );102 return asmStmt;103 }104 105 97 Statement *Mutator::mutate( IfStmt *ifStmt ) { 106 98 ifStmt->set_condition( maybeMutate( ifStmt->get_condition(), *this ) ); … … 299 291 typeExpr->set_type( maybeMutate( typeExpr->get_type(), *this ) ); 300 292 return typeExpr; 301 }302 303 Expression *Mutator::mutate( AsmExpr *asmExpr ) {304 asmExpr->set_inout( maybeMutate( asmExpr->get_inout(), *this ) );305 asmExpr->set_constraint( maybeMutate( asmExpr->get_constraint(), *this ) );306 asmExpr->set_operand( maybeMutate( asmExpr->get_operand(), *this ) );307 return asmExpr;308 293 } 309 294
Note:
See TracChangeset
for help on using the changeset viewer.