3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-02 13:27:01 +00:00

move to abstract symbols

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-01-10 12:14:13 -08:00
parent 78a1736bd2
commit 541658fe02
16 changed files with 117 additions and 93 deletions

View file

@ -35,7 +35,7 @@ Notes:
struct dl_context {
smt_params m_fparams;
scoped_ptr<smt_params> m_fparams;
params_ref m_params_ref;
fp_params m_params;
cmd_context & m_cmd;
@ -70,10 +70,15 @@ struct dl_context {
}
}
smt_params& fparams() {
if (!m_fparams) m_fparams = alloc(smt_params);
return *m_fparams.get();
}
void init() {
ast_manager& m = m_cmd.m();
if (!m_context) {
m_context = alloc(datalog::context, m, m_register_engine, m_fparams, m_params_ref);
m_context = alloc(datalog::context, m, m_register_engine, fparams(), m_params_ref);
}
if (!m_decl_plugin) {
symbol name("datalog_relation");