Ignore:
Timestamp:
Jan 29, 2019, 4:09:59 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
no_list
Children:
bee0694
Parents:
ede87c6
Message:

Starting to remove std::list to see if it affects performance, started with List of attributes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Validate.cc

    rede87c6 r70a1c3ae  
    912912                        // attributes are not carried over from typedef to function parameters/return values
    913913                        if ( ! inFunctionType ) {
    914                                 ret->attributes.splice( ret->attributes.end(), typeInst->attributes );
     914                                ret->attributes.insert( ret->attributes.end(), typeInst->attributes.begin(), typeInst->attributes.end() );
    915915                        } else {
    916916                                deleteAll( ret->attributes );
Note: See TracChangeset for help on using the changeset viewer.