Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/ScrubTyVars.cc

    rb18b0b5 r7754cde  
    4444        }
    4545
    46         Type * ScrubTyVars::mutateAggregateType( Type *ty ) {
    47                 if ( doAll ? isPolyType( ty ) : isPolyType( ty, tyVars ) ) {
    48                         PointerType *ret = new PointerType( Type::Qualifiers(), new VoidType( ty->get_qualifiers() ) );
    49                         delete ty;
    50                         return ret;
    51                 }
    52                 return ty;
    53         }
    54        
    55         Type * ScrubTyVars::mutate( StructInstType *structInst ) {
    56                 return mutateAggregateType( structInst );
    57         }
    58 
    59         Type * ScrubTyVars::mutate( UnionInstType *unionInst ) {
    60                 return mutateAggregateType( unionInst );
    61         }
    62 
    6346        Expression * ScrubTyVars::mutate( SizeofExpr *szeof ) {
    6447                // sizeof( T ) => _sizeof_T parameter, which is the size of T
Note: See TracChangeset for help on using the changeset viewer.