Changes in src/Common/PassVisitor.impl.h [6e50a6b:798a8b3]
- File:
-
- 1 edited
-
src/Common/PassVisitor.impl.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
r6e50a6b r798a8b3 2519 2519 2520 2520 //-------------------------------------------------------------------------- 2521 // DimensionExpr2522 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 //--------------------------------------------------------------------------2551 2521 // AsmExpr 2552 2522 template< typename pass_type > … … 3187 3157 3188 3158 maybeAccept_impl( node->forall, *this ); 3189 maybeAccept_impl( node->dimension, *this );3159 // xxx - should PointerType visit/mutate dimension? 3190 3160 maybeAccept_impl( node->base, *this ); 3191 3161 … … 3198 3168 3199 3169 maybeAccept_impl( node->forall, *this ); 3200 maybeAccept_impl( node->dimension, *this );3170 // xxx - should PointerType visit/mutate dimension? 3201 3171 maybeAccept_impl( node->base, *this ); 3202 3172 … … 3209 3179 3210 3180 maybeMutate_impl( node->forall, *this ); 3211 maybeMutate_impl( node->dimension, *this );3181 // xxx - should PointerType visit/mutate dimension? 3212 3182 maybeMutate_impl( node->base, *this ); 3213 3183
Note:
See TracChangeset
for help on using the changeset viewer.