Changes in src/InitTweak/FixInit.cc [4b2589a:3f97e68]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cc
r4b2589a r3f97e68 449 449 FunctionDecl * dtorCaller = new FunctionDecl( objDecl->get_mangleName() + "_dtor_atexit", DeclarationNode::NoStorageClass, LinkageSpec::C, new FunctionType( Type::Qualifiers(), false ), new CompoundStmt( noLabels ), false, false ); 450 450 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() ); 452 452 453 453 // on_exit(dtor_atexit);
Note: See TracChangeset
for help on using the changeset viewer.