Changeset aebf5b0 for src/AST/Pass.proto.hpp
- Timestamp:
- Jul 17, 2020, 4:58:54 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a8ed717
- Parents:
- c15085d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.proto.hpp
rc15085d raebf5b0 247 247 248 248 template< typename pass_t > 249 static inline auto beginTrace(pass_t & pass, int) -> decltype( pass_t::traceId, void() ) {249 static inline auto beginTrace(pass_t &, int) -> decltype( pass_t::traceId, void() ) { 250 250 Stats::Heap::stacktrace_push(pass_t::traceId); 251 251 } 252 252 253 template< typename pass_t > 254 static inline auto endTrace(pass_t & pass, int) -> decltype( pass_t::traceId, void() ) {253 template< typename pass_t > 254 static inline auto endTrace(pass_t &, int) -> decltype( pass_t::traceId, void() ) { 255 255 Stats::Heap::stacktrace_pop(); 256 256 }
Note: See TracChangeset
for help on using the changeset viewer.