Changes in src/AST/Pass.impl.hpp [4ec9513:2377ca2]
- File:
-
- 1 edited
-
src/AST/Pass.impl.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.impl.hpp
r4ec9513 r2377ca2 575 575 __pass::symtab::addId( core, 0, func ); 576 576 if ( __visit_children() ) { 577 // parameter declarations 578 maybe_accept( node, &FunctionDecl::params ); 579 maybe_accept( node, &FunctionDecl::returns ); 580 // type params and assertions 577 581 maybe_accept( node, &FunctionDecl::type_params ); 578 582 maybe_accept( node, &FunctionDecl::assertions ); 579 maybe_accept( node, &FunctionDecl::params );580 maybe_accept( node, &FunctionDecl::returns );581 maybe_accept( node, &FunctionDecl::type );582 583 // First remember that we are now within a function. 583 584 ValueGuard< bool > oldInFunction( inFunction ); … … 1521 1522 1522 1523 //-------------------------------------------------------------------------- 1523 // DimensionExpr1524 template< typename core_t >1525 const ast::Expr * ast::Pass< core_t >::visit( const ast::DimensionExpr * node ) {1526 VISIT_START( node );1527 1528 if ( __visit_children() ) {1529 guard_symtab guard { *this };1530 maybe_accept( node, &DimensionExpr::result );1531 }1532 1533 VISIT_END( Expr, node );1534 }1535 1536 //--------------------------------------------------------------------------1537 1524 // AsmExpr 1538 1525 template< typename core_t > … … 1872 1859 1873 1860 if ( __visit_children() ) { 1874 maybe_accept( node, &PointerType::dimension );1861 // xxx - should PointerType visit/mutate dimension? 1875 1862 maybe_accept( node, &PointerType::base ); 1876 1863 }
Note:
See TracChangeset
for help on using the changeset viewer.