Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/PassVisitor.impl.h

    r834b892 r11b7028  
    10181018template< typename pass_type >
    10191019void 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 );
    10371021}
    10381022
    10391023template< typename pass_type >
    10401024Statement * 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 );
    10581026}
    10591027
Note: See TracChangeset for help on using the changeset viewer.