Changes in src/Common/PassVisitor.impl.h [6e50a6b:2d019af]
- File:
-
- 1 edited
-
src/Common/PassVisitor.impl.h (modified) (17 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
r6e50a6b r2d019af 636 636 maybeAccept_impl( node->parameters, *this ); 637 637 maybeAccept_impl( node->members , *this ); 638 maybeAccept_impl( node->attributes, *this );639 638 } 640 639 … … 657 656 maybeAccept_impl( node->parameters, *this ); 658 657 maybeAccept_impl( node->members , *this ); 659 maybeAccept_impl( node->attributes, *this );660 658 } 661 659 … … 678 676 maybeMutate_impl( node->parameters, *this ); 679 677 maybeMutate_impl( node->members , *this ); 680 maybeMutate_impl( node->attributes, *this );681 678 } 682 679 … … 700 697 maybeAccept_impl( node->parameters, *this ); 701 698 maybeAccept_impl( node->members , *this ); 702 maybeAccept_impl( node->attributes, *this );703 699 } 704 700 … … 718 714 maybeAccept_impl( node->parameters, *this ); 719 715 maybeAccept_impl( node->members , *this ); 720 maybeAccept_impl( node->attributes, *this );721 716 } 722 717 … … 737 732 maybeMutate_impl( node->parameters, *this ); 738 733 maybeMutate_impl( node->members , *this ); 739 maybeMutate_impl( node->attributes, *this );740 734 } 741 735 … … 756 750 maybeAccept_impl( node->parameters, *this ); 757 751 maybeAccept_impl( node->members , *this ); 758 maybeAccept_impl( node->attributes, *this );759 752 760 753 VISIT_END( node ); … … 770 763 maybeAccept_impl( node->parameters, *this ); 771 764 maybeAccept_impl( node->members , *this ); 772 maybeAccept_impl( node->attributes, *this );773 765 774 766 VISIT_END( node ); … … 784 776 maybeMutate_impl( node->parameters, *this ); 785 777 maybeMutate_impl( node->members , *this ); 786 maybeMutate_impl( node->attributes, *this );787 778 788 779 MUTATE_END( Declaration, node ); … … 799 790 maybeAccept_impl( node->parameters, *this ); 800 791 maybeAccept_impl( node->members , *this ); 801 maybeAccept_impl( node->attributes, *this );802 792 } 803 793 … … 815 805 maybeAccept_impl( node->parameters, *this ); 816 806 maybeAccept_impl( node->members , *this ); 817 maybeAccept_impl( node->attributes, *this );818 807 } 819 808 … … 831 820 maybeMutate_impl( node->parameters, *this ); 832 821 maybeMutate_impl( node->members , *this ); 833 maybeMutate_impl( node->attributes, *this );834 822 } 835 823 … … 2519 2507 2520 2508 //-------------------------------------------------------------------------- 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 2509 // AsmExpr 2552 2510 template< typename pass_type > … … 3187 3145 3188 3146 maybeAccept_impl( node->forall, *this ); 3189 maybeAccept_impl( node->dimension, *this );3147 // xxx - should PointerType visit/mutate dimension? 3190 3148 maybeAccept_impl( node->base, *this ); 3191 3149 … … 3198 3156 3199 3157 maybeAccept_impl( node->forall, *this ); 3200 maybeAccept_impl( node->dimension, *this );3158 // xxx - should PointerType visit/mutate dimension? 3201 3159 maybeAccept_impl( node->base, *this ); 3202 3160 … … 3209 3167 3210 3168 maybeMutate_impl( node->forall, *this ); 3211 maybeMutate_impl( node->dimension, *this );3169 // xxx - should PointerType visit/mutate dimension? 3212 3170 maybeMutate_impl( node->base, *this ); 3213 3171 … … 3898 3856 3899 3857 //-------------------------------------------------------------------------- 3900 // Constant3858 // Attribute 3901 3859 template< typename pass_type > 3902 3860 void PassVisitor< pass_type >::visit( Constant * node ) {
Note:
See TracChangeset
for help on using the changeset viewer.