Changes in src/Common/PassVisitor.impl.h [9a705dc8:cc32d83]
- File:
-
- 1 edited
-
src/Common/PassVisitor.impl.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
r9a705dc8 rcc32d83 690 690 VISIT_START( node ); 691 691 692 maybeAccept_impl( node->condition, *this);693 maybeAccept_impl( node->message , *this );692 node->condition = visitExpression( node->condition ); 693 maybeAccept_impl( node->message, *this ); 694 694 695 695 VISIT_END( node ); … … 700 700 MUTATE_START( node ); 701 701 702 maybeMutate_impl( node->condition, *this);703 maybeMutate_impl( node->message , *this );702 node->condition = mutateExpression( node->condition ); 703 maybeMutate_impl( node->message, *this ); 704 704 705 705 MUTATE_END( StaticAssertDecl, node ); … … 772 772 maybeMutate_impl( node->input, *this ); 773 773 maybeMutate_impl( node->clobber, *this ); 774 775 MUTATE_END( Statement, node ); 776 } 777 778 //-------------------------------------------------------------------------- 779 // AsmStmt 780 template< typename pass_type > 781 void PassVisitor< pass_type >::visit( DirectiveStmt * node ) { 782 VISIT_START( node ) 783 784 VISIT_END( node ); 785 } 786 787 template< typename pass_type > 788 Statement * PassVisitor< pass_type >::mutate( DirectiveStmt * node ) { 789 MUTATE_START( node ); 774 790 775 791 MUTATE_END( Statement, node );
Note:
See TracChangeset
for help on using the changeset viewer.