Changes in src/SymTab/Mangler.cc [3530f39a:4ee3b0c1]
- File:
-
- 1 edited
-
src/SymTab/Mangler.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Mangler.cc
r3530f39a r4ee3b0c1 171 171 "w", // SignedInt128 172 172 "Uw", // UnsignedInt128 173 " x", // Float80174 " y", // Float128173 "a", // Float80 174 "A", // Float128 175 175 }; 176 176 static_assert( … … 225 225 GuardValue( inFunctionType ); 226 226 inFunctionType = true; 227 std::list< Type* > returnTypes = getTypes( functionType-> returnVals);227 std::list< Type* > returnTypes = getTypes( functionType->get_returnVals() ); 228 228 acceptAll( returnTypes, *visitor ); 229 229 mangleName << "_"; 230 std::list< Type* > paramTypes = getTypes( functionType-> parameters);230 std::list< Type* > paramTypes = getTypes( functionType->get_parameters() ); 231 231 acceptAll( paramTypes, *visitor ); 232 232 mangleName << "_"; … … 236 236 printQualifiers( refType ); 237 237 238 mangleName << ( refType-> name.length() + prefix.length() ) << prefix << refType->name;238 mangleName << ( refType->get_name().length() + prefix.length() ) << prefix << refType->get_name(); 239 239 240 240 if ( mangleGenericParams ) { 241 std::list< Expression* >& params = refType-> parameters;241 std::list< Expression* >& params = refType->get_parameters(); 242 242 if ( ! params.empty() ) { 243 243 mangleName << "_"; 244 244 for ( std::list< Expression* >::const_iterator param = params.begin(); param != params.end(); ++param ) { 245 245 TypeExpr *paramType = dynamic_cast< TypeExpr* >( *param ); 246 assertf(paramType, "Aggregate parameters should be type expressions: %s", to CString(*param));247 maybeAccept( paramType-> type, *visitor );246 assertf(paramType, "Aggregate parameters should be type expressions: %s", toString(*param).c_str()); 247 maybeAccept( paramType->get_type(), *visitor ); 248 248 } 249 249 mangleName << "_";
Note:
See TracChangeset
for help on using the changeset viewer.