Changes in src/Common/PassVisitor.impl.h [af5c204a:b73bd70]
- File:
-
- 1 edited
-
src/Common/PassVisitor.impl.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
raf5c204a rb73bd70 4 4 __attribute__((unused)) \ 5 5 const auto & guard = init_guard(); \ 6 bool visit_children = true; \ 7 set_visit_children( visit_children ); \ 6 8 call_previsit( node ); \ 7 if( visit_children () ) {\9 if( visit_children ) { \ 8 10 9 11 #define VISIT_END( node ) \ 10 12 } \ 11 reset_visit(); \12 13 call_postvisit( node ); \ 13 14 … … 15 16 __attribute__((unused)) \ 16 17 const auto & guard = init_guard(); \ 18 bool visit_children = true; \ 19 set_visit_children( visit_children ); \ 17 20 call_premutate( node ); \ 18 if( visit_children () ) {\21 if( visit_children ) { \ 19 22 20 23 #define MUTATE_END( type, node ) \ 21 24 } \ 22 reset_visit(); \23 25 return call_postmutate< type * >( node ); \ 24 26 … … 348 350 349 351 //-------------------------------------------------------------------------- 350 // SwitchStmt352 // CaseStmt 351 353 template< typename pass_type > 352 354 void PassVisitor< pass_type >::visit( CaseStmt * node ) {
Note:
See TracChangeset
for help on using the changeset viewer.