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