Changeset 824a2dc
- Timestamp:
- May 23, 2018, 1:54:29 PM (7 years ago)
- Branches:
- new-env, with_gc
- Children:
- 3ef35bd
- Parents:
- 2472a19
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/GcTracer.h
r2472a19 r824a2dc 116 116 } 117 117 118 void postvisit( EnumInstType* type ) { 119 postvisit( static_cast<Type*>(type) ); 120 maybeAccept( type->baseEnum, *visitor ); 121 } 122 118 123 void postvisit( PointerType* type ) { 119 124 postvisit( static_cast<Type*>(type) ); 120 125 maybeAccept( type->dimension, *visitor ); 126 } 127 128 void postvisit( StructInstType* type ) { 129 postvisit( static_cast<Type*>(type) ); 130 maybeAccept( type->baseStruct, *visitor ); 131 } 132 133 void postvisit( TraitInstType* type ) { 134 postvisit( static_cast<Type*>(type) ); 135 maybeAccept( type->baseTrait, *visitor ); 136 } 137 138 void postvisit( TypeInstType* type ) { 139 postvisit( static_cast<Type*>(type) ); 140 maybeAccept( type->baseType, *visitor ); 141 } 142 143 void postvisit( UnionInstType* type ) { 144 postvisit( static_cast<Type*>(type) ); 145 maybeAccept( type->baseUnion, *visitor ); 121 146 } 122 147 };
Note: See TracChangeset
for help on using the changeset viewer.