Changeset d32c4e2 for src/InitTweak


Ignore:
Timestamp:
Jul 4, 2016, 9:29:03 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
159c62e, 39f04ec
Parents:
7fe4cc3e (diff), 30e81fb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg2:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cc

    r7fe4cc3e rd32c4e2  
    449449                                                FunctionDecl * dtorCaller = new FunctionDecl( objDecl->get_mangleName() + "_dtor_atexit", DeclarationNode::NoStorageClass, LinkageSpec::C, new FunctionType( Type::Qualifiers(), false ), new CompoundStmt( noLabels ), false, false );
    450450                                                dtorCaller->fixUniqueId();
    451                                                 dtorCaller->get_statements()->get_kids().push_back( ctorInit->get_dtor() );
     451                                                dtorCaller->get_statements()->get_kids().push_back( ctorInit->get_dtor()->clone() );
    452452
    453453                                                // on_exit(dtor_atexit);
Note: See TracChangeset for help on using the changeset viewer.