Changeset 6355ba7 for src


Ignore:
Timestamp:
Jun 10, 2019, 12:21:28 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:
6e3e0717
Parents:
e7f8119
Message:

Removed debugging prints which are no longer useful

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    re7f8119 r6355ba7  
    154154                auto&& attr = get<Attribute>().acceptL( node->attributes );
    155155                if ( inCache( node ) ) {
    156                         if(node->name == "tmp") {
    157                                 std::cerr << (void*)node << "(new) in cache " << (void*)this->node << "(old)" << std::endl;
    158                         }
    159156                        return nullptr;
    160157                }
     
    169166                        Type::FuncSpecifiers( node->funcSpec.val )
    170167                );
    171                 if(node->name == "tmp") {
    172                         std::cerr << (void*)node << "(new) created " << (void*)decl << "(old)" << std::endl;
    173                 }
    174168                return declWithTypePostamble( decl, node );
    175169        }
     
    14221416#       define GET_ACCEPT_V(child, type) \
    14231417                getAcceptV< ast::type, decltype( old->child ) >( old->child )
    1424        
     1418
    14251419        template<typename NewT, typename OldC>
    14261420        std::deque< ast::ptr<NewT> > getAcceptD( OldC& old ) {
     
    14701464
    14711465        virtual void visit( ObjectDecl * old ) override final {
    1472                 if( old->name == "tmp" ) {
    1473                         std::cerr << "building parameters for" << (void*)old << std::endl;
    1474                 }
    14751466                auto&& type = GET_ACCEPT_1(type, Type);
    14761467                auto&& init = GET_ACCEPT_1(init, Init);
    14771468                auto&& bfwd = GET_ACCEPT_1(bitfieldWidth, Expr);
    14781469                auto&& attr = GET_ACCEPT_V(attributes, Attribute);
    1479                 if( old->name == "tmp" ) {
    1480                         std::cerr << "checking cache for " << (void*)old << std::endl;
    1481                 }
    14821470                if ( inCache( old ) ) {
    1483                         if( old->name == "tmp" ) {
    1484                                 std::cerr << (void*)old << "(old) in cache " << (void*)this->node << "(new)" << std::endl;
    1485                         }
    14861471                        return;
    14871472                }
     
    14981483                );
    14991484                cache.emplace(old, decl);
    1500                 if( old->name == "tmp" ) {
    1501                         std::cerr << (void*)old << "(old) added to cache with " << (void*)decl << "(new)" << std::endl;
    1502                 }
    15031485                assert(cache.find( old ) != cache.end());
    15041486                decl->scopeLevel = old->scopeLevel;
     
    15091491
    15101492                this->node = decl;
    1511 
    1512                 if( old->name == "tmp" ) {
    1513                         std::cerr << (void*)old << "(old) created " << (void*)this->node << "(new)" << std::endl;
    1514                 }
    15151493        }
    15161494
Note: See TracChangeset for help on using the changeset viewer.