Changes in src/GenPoly/ScrubTyVars.cc [b18b0b5:7754cde]
- File:
-
- 1 edited
-
src/GenPoly/ScrubTyVars.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/ScrubTyVars.cc
rb18b0b5 r7754cde 44 44 } 45 45 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 63 46 Expression * ScrubTyVars::mutate( SizeofExpr *szeof ) { 64 47 // sizeof( T ) => _sizeof_T parameter, which is the size of T
Note:
See TracChangeset
for help on using the changeset viewer.