Ignore:
File:
1 edited

Legend:

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

    r6e50a6b r2d019af  
    636636                maybeAccept_impl( node->parameters, *this );
    637637                maybeAccept_impl( node->members   , *this );
    638                 maybeAccept_impl( node->attributes, *this );
    639638        }
    640639
     
    657656                maybeAccept_impl( node->parameters, *this );
    658657                maybeAccept_impl( node->members   , *this );
    659                 maybeAccept_impl( node->attributes, *this );
    660658        }
    661659
     
    678676                maybeMutate_impl( node->parameters, *this );
    679677                maybeMutate_impl( node->members   , *this );
    680                 maybeMutate_impl( node->attributes, *this );
    681678        }
    682679
     
    700697                maybeAccept_impl( node->parameters, *this );
    701698                maybeAccept_impl( node->members   , *this );
    702                 maybeAccept_impl( node->attributes, *this );
    703699        }
    704700
     
    718714                maybeAccept_impl( node->parameters, *this );
    719715                maybeAccept_impl( node->members   , *this );
    720                 maybeAccept_impl( node->attributes, *this );
    721716        }
    722717
     
    737732                maybeMutate_impl( node->parameters, *this );
    738733                maybeMutate_impl( node->members   , *this );
    739                 maybeMutate_impl( node->attributes, *this );
    740734        }
    741735
     
    756750        maybeAccept_impl( node->parameters, *this );
    757751        maybeAccept_impl( node->members   , *this );
    758         maybeAccept_impl( node->attributes, *this );
    759752
    760753        VISIT_END( node );
     
    770763        maybeAccept_impl( node->parameters, *this );
    771764        maybeAccept_impl( node->members   , *this );
    772         maybeAccept_impl( node->attributes, *this );
    773765
    774766        VISIT_END( node );
     
    784776        maybeMutate_impl( node->parameters, *this );
    785777        maybeMutate_impl( node->members   , *this );
    786         maybeMutate_impl( node->attributes, *this );
    787778
    788779        MUTATE_END( Declaration, node );
     
    799790                maybeAccept_impl( node->parameters, *this );
    800791                maybeAccept_impl( node->members   , *this );
    801                 maybeAccept_impl( node->attributes, *this );
    802792        }
    803793
     
    815805                maybeAccept_impl( node->parameters, *this );
    816806                maybeAccept_impl( node->members   , *this );
    817                 maybeAccept_impl( node->attributes, *this );
    818807        }
    819808
     
    831820                maybeMutate_impl( node->parameters, *this );
    832821                maybeMutate_impl( node->members   , *this );
    833                 maybeMutate_impl( node->attributes, *this );
    834822        }
    835823
     
    25192507
    25202508//--------------------------------------------------------------------------
    2521 // DimensionExpr
    2522 template< typename pass_type >
    2523 void PassVisitor< pass_type >::visit( DimensionExpr * node ) {
    2524         VISIT_START( node );
    2525 
    2526         indexerScopedAccept( node->result, *this );
    2527 
    2528         VISIT_END( node );
    2529 }
    2530 
    2531 template< typename pass_type >
    2532 void PassVisitor< pass_type >::visit( const DimensionExpr * node ) {
    2533         VISIT_START( node );
    2534 
    2535         indexerScopedAccept( node->result, *this );
    2536 
    2537         VISIT_END( node );
    2538 }
    2539 
    2540 template< typename pass_type >
    2541 Expression * PassVisitor< pass_type >::mutate( DimensionExpr * node ) {
    2542         MUTATE_START( node );
    2543 
    2544         indexerScopedMutate( node->env   , *this );
    2545         indexerScopedMutate( node->result, *this );
    2546 
    2547         MUTATE_END( Expression, node );
    2548 }
    2549 
    2550 //--------------------------------------------------------------------------
    25512509// AsmExpr
    25522510template< typename pass_type >
     
    31873145
    31883146        maybeAccept_impl( node->forall, *this );
    3189         maybeAccept_impl( node->dimension, *this );
     3147        // xxx - should PointerType visit/mutate dimension?
    31903148        maybeAccept_impl( node->base, *this );
    31913149
     
    31983156
    31993157        maybeAccept_impl( node->forall, *this );
    3200         maybeAccept_impl( node->dimension, *this );
     3158        // xxx - should PointerType visit/mutate dimension?
    32013159        maybeAccept_impl( node->base, *this );
    32023160
     
    32093167
    32103168        maybeMutate_impl( node->forall, *this );
    3211         maybeMutate_impl( node->dimension, *this );
     3169        // xxx - should PointerType visit/mutate dimension?
    32123170        maybeMutate_impl( node->base, *this );
    32133171
     
    38983856
    38993857//--------------------------------------------------------------------------
    3900 // Constant
     3858// Attribute
    39013859template< typename pass_type >
    39023860void PassVisitor< pass_type >::visit( Constant * node ) {
Note: See TracChangeset for help on using the changeset viewer.