Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cc

    rb18b0b5 r1cced28  
    492492                        assert( arg );
    493493                        if ( isPolyType( realParam->get_type(), tyVars ) ) {
     494//     if ( dynamic_cast< PointerType *>( arg->get_type() ) ) {
     495//       return new CastExpr( new VariableExpr( param ), arg->get_type()->clone() );
     496//     } else {
    494497                                if ( dynamic_cast<TypeInstType *>(arg->get_type()) == NULL ) {
    495498                                        UntypedExpr *deref = new UntypedExpr( new NameExpr( "*?" ) );
     
    498501                                        return deref;
    499502                                } // if
     503//     }
    500504                        } // if
    501505                        return new VariableExpr( param );
     
    10321036
    10331037                        // add size/align for generic types to parameter list
    1034                         std::set< std::string > seenTypes; // sizeofName for generic types we've seen
     1038                        std::set< std::string > seenTypes; //< sizeofName for generic types we've seen
    10351039                        for ( std::list< DeclarationWithType* >::const_iterator fnParm = last; fnParm != funcType->get_parameters().end(); ++fnParm ) {
    10361040                                Type *parmType = (*fnParm)->get_type();
Note: See TracChangeset for help on using the changeset viewer.