mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
remove dependency on ast from params
This commit is contained in:
parent
f00db08221
commit
4b3fecc35e
13 changed files with 49 additions and 48 deletions
|
@ -19,7 +19,6 @@ Notes:
|
|||
--*/
|
||||
#include "util/gparams.h"
|
||||
#include "util/params.h"
|
||||
#include "ast/ast.h"
|
||||
#include "params/context_params.h"
|
||||
|
||||
context_params::context_params() {
|
||||
|
@ -194,17 +193,5 @@ void context_params::get_solver_params(params_ref & p, bool & proofs_enabled, bo
|
|||
p = merge_default_params(p);
|
||||
}
|
||||
|
||||
ast_manager * context_params::mk_ast_manager() {
|
||||
if (m_manager)
|
||||
return m_manager;
|
||||
ast_manager * r = alloc(ast_manager,
|
||||
m_proof ? PGM_ENABLED : PGM_DISABLED,
|
||||
m_trace ? m_trace_file_name.c_str() : nullptr);
|
||||
if (m_smtlib2_compliant)
|
||||
r->enable_int_real_coercions(false);
|
||||
if (m_debug_ref_count)
|
||||
r->debug_ref_count();
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue