Ignore:
Timestamp:
Jun 6, 2019, 3:53:59 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
0b73f0c, 1a4323e, 7cc0344
Parents:
546e712
Message:

Removed extraneous prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cc

    r546e712 rf46bfd2f  
    288288                        static UniqueName dtorNamer( "__cleanup_dtor" );
    289289                        std::string name = dtorNamer.newName();
    290                         if(name == "__cleanup_dtor8") {
    291                                 objDecl->print(std::cerr);
    292                                 std::cerr << "-----" << std::endl;
    293                                 dtor->print(std::cerr);
    294                         }
    295290                        FunctionDecl * dtorFunc = FunctionDecl::newFunction( name, SymTab::genDefaultType( objDecl->type->stripReferences(), false ), new CompoundStmt() );
    296291                        stmtsToAdd.push_back( new DeclStmt( dtorFunc ) );
     
    308303                        size_t replaced = DeclReplacer::replace( dtor, { std::make_pair( objDecl, replacement ) } );
    309304                        if(replaced == 0) {
     305                                objDecl->print(std::cerr);
     306                                std::cerr << "-----" << std::endl;
     307                                dtor->print(std::cerr);
    310308                                std::cerr << "Failed to replace " << objDecl << std::endl;
    311309                                abort();
Note: See TracChangeset for help on using the changeset viewer.