Changes in src/Common/PassVisitor.impl.h [834b892:11b7028]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
r834b892 r11b7028 1018 1018 template< typename pass_type > 1019 1019 void PassVisitor< pass_type >::visit( WaitForStmt * node ) { 1020 VISIT_START( node ); 1021 1022 for( auto & clause : node->clauses ) { 1023 maybeAccept_impl( clause.target.function, *this ); 1024 maybeAccept_impl( clause.target.arguments, *this ); 1025 1026 maybeAccept_impl( clause.statement, *this ); 1027 maybeAccept_impl( clause.condition, *this ); 1028 } 1029 1030 maybeAccept_impl( node->timeout.time, *this ); 1031 maybeAccept_impl( node->timeout.statement, *this ); 1032 maybeAccept_impl( node->timeout.condition, *this ); 1033 maybeAccept_impl( node->orelse.statement, *this ); 1034 maybeAccept_impl( node->orelse.condition, *this ); 1035 1036 VISIT_END( node ); 1020 VISIT_BODY( node ); 1037 1021 } 1038 1022 1039 1023 template< typename pass_type > 1040 1024 Statement * PassVisitor< pass_type >::mutate( WaitForStmt * node ) { 1041 MUTATE_START( node ); 1042 1043 for( auto & clause : node->clauses ) { 1044 maybeMutate_impl( clause.target.function, *this ); 1045 maybeMutate_impl( clause.target.arguments, *this ); 1046 1047 maybeMutate_impl( clause.statement, *this ); 1048 maybeMutate_impl( clause.condition, *this ); 1049 } 1050 1051 maybeMutate_impl( node->timeout.time, *this ); 1052 maybeMutate_impl( node->timeout.statement, *this ); 1053 maybeMutate_impl( node->timeout.condition, *this ); 1054 maybeMutate_impl( node->orelse.statement, *this ); 1055 maybeMutate_impl( node->orelse.condition, *this ); 1056 1057 MUTATE_END( Statement, node ); 1025 MUTATE_BODY( Statement, node ); 1058 1026 } 1059 1027
Note:
See TracChangeset
for help on using the changeset viewer.