Changeset 145f1fc for src/GenPoly
- Timestamp:
- Jul 15, 2015, 2:59:57 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 1ab4ce2, 2794fff, e45215c
- Parents:
- 85c4ef0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/PolyMutator.cc
r85c4ef0 r145f1fc 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Tue May 19 07:45:50201513 // Update Count : 111 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed Jul 15 14:50:58 2015 13 // Update Count : 3 14 14 // 15 15 … … 92 92 Statement * PolyMutator::mutate(ForStmt *forStmt) { 93 93 forStmt->set_body( mutateStatement( forStmt->get_body() ) ); 94 forStmt->set_initialization( maybeMutate( forStmt->get_initialization(), *this ));94 mutateAll( forStmt->get_initialization(), *this ); 95 95 forStmt->set_condition( mutateExpression( forStmt->get_condition() ) ); 96 96 forStmt->set_increment( mutateExpression( forStmt->get_increment() ) );
Note:
See TracChangeset
for help on using the changeset viewer.