mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
parent
abe3ef2382
commit
ec034679ce
7 changed files with 26 additions and 18 deletions
|
@ -137,6 +137,7 @@ struct gparams::imp {
|
|||
smap<params_ref* > m_module_params;
|
||||
params_ref m_params;
|
||||
region m_region;
|
||||
std::string m_buffer;
|
||||
|
||||
void check_registered() {
|
||||
if (m_modules_registered)
|
||||
|
@ -651,3 +652,8 @@ void gparams::finalize() {
|
|||
dealloc(g_imp);
|
||||
DEALLOC_MUTEX(gparams_mux);
|
||||
}
|
||||
|
||||
std::string& gparams::g_buffer() {
|
||||
SASSERT(g_imp);
|
||||
return g_imp->m_buffer;
|
||||
}
|
||||
|
|
|
@ -26,6 +26,9 @@ class gparams {
|
|||
public:
|
||||
typedef default_exception exception;
|
||||
|
||||
static std::string& g_buffer();
|
||||
|
||||
|
||||
/**
|
||||
\brief Reset all global and module parameters.
|
||||
*/
|
||||
|
|
|
@ -153,4 +153,5 @@ void scoped_timer::finalize() {
|
|||
}
|
||||
}
|
||||
num_workers = 0;
|
||||
available_workers.clear();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue