Changeset 86e84e4
- Timestamp:
- Feb 27, 2018, 5:07:44 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:
- cfaf9be
- Parents:
- 54043f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
r54043f4 r86e84e4 2213 2213 template< typename pass_type > 2214 2214 void PassVisitor< pass_type >::visit( EnumInstType * node ) { 2215 VISIT_BODY( node ); 2215 VISIT_START( node ); 2216 2217 maybeAccept_impl( node->forall, *this ); 2218 maybeAccept_impl( node->parameters, *this ); 2219 2220 VISIT_END( node ); 2216 2221 } 2217 2222 2218 2223 template< typename pass_type > 2219 2224 Type * PassVisitor< pass_type >::mutate( EnumInstType * node ) { 2220 MUTATE_BODY( Type, node ); 2225 MUTATE_START( node ); 2226 2227 maybeMutate_impl( node->forall, *this ); 2228 maybeMutate_impl( node->parameters, *this ); 2229 2230 MUTATE_END( Type, node ); 2221 2231 } 2222 2232 … … 2247 2257 template< typename pass_type > 2248 2258 void PassVisitor< pass_type >::visit( TypeInstType * node ) { 2249 VISIT_BODY( node ); 2250 } 2259 VISIT_START( node ); 2260 2261 maybeAccept_impl( node->forall , *this ); 2262 maybeAccept_impl( node->parameters, *this ); 2263 2264 VISIT_END( node ); 2265 } 2266 2267 template< typename pass_type > 2268 Type * PassVisitor< pass_type >::mutate( TypeInstType * node ) { 2269 MUTATE_START( node ); 2270 2271 maybeMutate_impl( node->forall , *this ); 2272 maybeMutate_impl( node->parameters, *this ); 2273 2274 MUTATE_END( Type, node ); 2275 } 2276 2251 2277 2252 2278 template< typename pass_type > … … 2346 2372 2347 2373 template< typename pass_type > 2348 Type * PassVisitor< pass_type >::mutate( TypeInstType * node ) {2349 MUTATE_BODY( Type, node );2350 }2351 2352 template< typename pass_type >2353 2374 Type * PassVisitor< pass_type >::mutate( TupleType * node ) { 2354 2375 MUTATE_BODY( Type, node );
Note: See TracChangeset
for help on using the changeset viewer.