Changeset 70a1c3ae for src/ControlStruct


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/ControlStruct/ExceptTranslate.cc

    rede87c6 r70a1c3ae  
    167167                        new BasicType( noQualifiers, BasicType::Bool ),
    168168                        /*init*/ NULL,
    169                         std::list<Attribute *>{ new Attribute( "unused" ) }
     169                        std::vector< Attribute * >{ new Attribute( "unused" ) }
    170170                        );
    171171                ObjectDecl voidptr_obj(
     
    179179                                        noQualifiers
    180180                                        ),
    181                                 std::list<Attribute *>{ new Attribute( "unused" ) }
     181                                std::vector< Attribute * >{ new Attribute( "unused" ) }
    182182                                ),
    183183                        NULL
     
    491491                // __cfaabi_ehm__try_resume_setup( &__resume_node, resume_handler );
    492492
    493                 std::list< Attribute * > attributes;
     493                std::vector< Attribute * > attributes;
    494494                {
    495495                        std::list< Expression * > attr_params;
     
    543543
    544544                // Make Cleanup Attribute.
    545                 std::list< Attribute * > attributes;
     545                std::vector< Attribute * > attributes;
    546546                {
    547547                        std::list< Expression * > attr_params;
Note: See TracChangeset for help on using the changeset viewer.