Changeset ff29f08 for src/Common/PassVisitor.impl.h
- Timestamp:
- May 18, 2018, 2:09:21 PM (6 years ago)
- Branches:
- new-env, with_gc
- Children:
- 2472a19
- Parents:
- f6f0cca3 (diff), c7d8100c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
rf6f0cca3 rff29f08 690 690 VISIT_START( node ); 691 691 692 maybeAccept_impl( node->condition, *this);693 maybeAccept_impl( node->message 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 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.