3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

don't even bother allocating traces in release mode

This commit is contained in:
Nuno Lopes 2018-07-08 13:21:16 +01:00
parent a2d078f6f5
commit fd75eccfec
2 changed files with 14 additions and 9 deletions

View file

@ -21,7 +21,6 @@ Revision History:
#ifdef _TRACE
std::ofstream tout(".z3-trace");
#endif
static bool g_enable_all_trace_tags = false;
static str_hashtable* g_enabled_trace_tags = nullptr;
@ -56,13 +55,11 @@ bool is_trace_enabled(const char * tag) {
}
void close_trace() {
#ifdef _TRACE
tout.close();
#endif
}
void open_trace() {
#ifdef _TRACE
tout.open(".z3-trace");
#endif
}
#endif