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