Changeset b8665e3 for src/Common


Ignore:
Timestamp:
Mar 14, 2019, 11:53:28 AM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
b419abb
Parents:
fca6ca6
Message:

First build with persistent-map indexer

Location:
src/Common
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/Common/PassVisitor.cc

    rfca6ca6 rb8665e3  
    1717
    1818PassVisitorStats pass_visitor_stats;
     19Stats::Counters::SimpleCounter* BaseSyntaxNode::new_nodes = nullptr;
  • src/Common/Stats/Counter.h

    rfca6ca6 rb8665e3  
    3737                        class SimpleCounter {
    3838                        public:
     39                                inline void operator++() {}
    3940                                inline void operator++(int) {}
    4041                                inline void operator+=(size_t) {}
     
    8485                                virtual void print(std::ostream & os) override { os << count; }
    8586
     87                                inline void operator++()             { if(!enabled) return; count++;        }
    8688                                inline void operator++(int)          { if(!enabled) return; count++;        }
    8789                                inline void operator+=(size_t value) { if(!enabled) return; count += value; }
Note: See TracChangeset for help on using the changeset viewer.