Changeset 8d7bef2 for src/GenPoly
- Timestamp:
- Mar 20, 2018, 5:12:25 PM (6 years ago)
- Branches:
- new-env, with_gc
- Children:
- 7e4b44db
- Parents:
- 68f9c43
- Location:
- src/GenPoly
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/GenPoly.cc
r68f9c43 r8d7bef2 437 437 Type * newType = arg->clone(); 438 438 if ( env ) env->apply( newType ); 439 std::unique_ptr<Type> manager( newType );440 439 // if the argument's type is polymorphic, we don't need to box again! 441 440 return ! isPolyType( newType ); -
src/GenPoly/Specialize.cc
r68f9c43 r8d7bef2 17 17 #include <iterator> // for back_insert_iterator, back_i... 18 18 #include <map> // for _Rb_tree_iterator, _Rb_tree_... 19 #include <memory> // for unique_ptr20 19 #include <string> // for string 21 20 #include <tuple> // for get … … 225 224 env->apply( actualType ); 226 225 } 227 std::unique_ptr< FunctionType > actualTypeManager( actualType ); // for RAII228 226 std::list< DeclarationWithType * >::iterator actualBegin = actualType->get_parameters().begin(); 229 227 std::list< DeclarationWithType * >::iterator actualEnd = actualType->get_parameters().end();
Note: See TracChangeset
for help on using the changeset viewer.