Changeset 8d7bef2 for src/GenPoly


Ignore:
Timestamp:
Mar 20, 2018, 5:12:25 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
7e4b44db
Parents:
68f9c43
Message:

First compiling build of CFA-CC with GC

Location:
src/GenPoly
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/GenPoly.cc

    r68f9c43 r8d7bef2  
    437437                Type * newType = arg->clone();
    438438                if ( env ) env->apply( newType );
    439                 std::unique_ptr<Type> manager( newType );
    440439                // if the argument's type is polymorphic, we don't need to box again!
    441440                return ! isPolyType( newType );
  • src/GenPoly/Specialize.cc

    r68f9c43 r8d7bef2  
    1717#include <iterator>                      // for back_insert_iterator, back_i...
    1818#include <map>                           // for _Rb_tree_iterator, _Rb_tree_...
    19 #include <memory>                        // for unique_ptr
    2019#include <string>                        // for string
    2120#include <tuple>                         // for get
     
    225224                        env->apply( actualType );
    226225                }
    227                 std::unique_ptr< FunctionType > actualTypeManager( actualType ); // for RAII
    228226                std::list< DeclarationWithType * >::iterator actualBegin = actualType->get_parameters().begin();
    229227                std::list< DeclarationWithType * >::iterator actualEnd = actualType->get_parameters().end();
Note: See TracChangeset for help on using the changeset viewer.