Changes in src/GenPoly/PolyMutator.cc [09f800b:aadc9a4]
- File:
-
- 1 edited
-
src/GenPoly/PolyMutator.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/PolyMutator.cc
r09f800b raadc9a4 152 152 } 153 153 154 155 /* static class method */156 void PolyMutator::makeTyVarMap( Type *type, TyVarMap &tyVarMap ) {157 for ( std::list< TypeDecl* >::const_iterator tyVar = type->get_forall().begin(); tyVar != type->get_forall().end(); ++tyVar ) {158 assert( *tyVar );159 tyVarMap[ (*tyVar)->get_name() ] = (*tyVar)->get_kind();160 }161 if ( PointerType *pointer = dynamic_cast< PointerType* >( type ) ) {162 makeTyVarMap( pointer->get_base(), tyVarMap );163 }164 }165 154 } // namespace GenPoly 166 155
Note:
See TracChangeset
for help on using the changeset viewer.