Changeset 33c0ce8
- Timestamp:
- Feb 1, 2018, 4:37:34 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 85521c7, a33fdbe
- Parents:
- 624b722d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
r624b722d r33c0ce8 889 889 template< typename pass_type > 890 890 void PassVisitor< pass_type >::visit( BranchStmt * node ) { 891 VISIT_BODY( node ); 891 VISIT_START( node ); 892 VISIT_END( node ); 892 893 } 893 894 894 895 template< typename pass_type > 895 896 Statement * PassVisitor< pass_type >::mutate( BranchStmt * node ) { 896 MUTATE_BODY( Statement, node ); 897 MUTATE_START( node ); 898 MUTATE_END( Statement, node ); 897 899 } 898 900 … … 922 924 template< typename pass_type > 923 925 void PassVisitor< pass_type >::visit( ThrowStmt * node ) { 924 VISIT_BODY( node ); 926 VISIT_START( node ); 927 928 maybeAccept_impl( node->expr, *this ); 929 maybeAccept_impl( node->target, *this ); 930 931 VISIT_END( node ); 925 932 } 926 933 927 934 template< typename pass_type > 928 935 Statement * PassVisitor< pass_type >::mutate( ThrowStmt * node ) { 929 MUTATE_BODY( Statement, node ); 936 MUTATE_START( node ); 937 938 maybeMutate_impl( node->expr, *this ); 939 maybeMutate_impl( node->target, *this ); 940 941 MUTATE_END( Statement, node ); 930 942 } 931 943
Note: See TracChangeset
for help on using the changeset viewer.