mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 13:40:52 +00:00
remove template dependency for trail objects
This commit is contained in:
parent
c05c5caab5
commit
15a7621e27
28 changed files with 46 additions and 58 deletions
|
@ -73,7 +73,6 @@ namespace euf {
|
|||
struct scope {
|
||||
unsigned m_var_lim;
|
||||
};
|
||||
typedef trail_stack<solver> euf_trail_stack;
|
||||
|
||||
|
||||
size_t* to_ptr(sat::literal l) { return TAG(size_t*, reinterpret_cast<size_t*>((size_t)(l.index() << 4)), 1); }
|
||||
|
@ -93,7 +92,7 @@ namespace euf {
|
|||
sat::sat_internalizer& si;
|
||||
smt_params m_config;
|
||||
euf::egraph m_egraph;
|
||||
euf_trail_stack m_trail;
|
||||
trail_stack m_trail;
|
||||
stats m_stats;
|
||||
th_rewriter m_rewriter;
|
||||
func_decl_ref_vector m_unhandled_functions;
|
||||
|
@ -265,7 +264,7 @@ namespace euf {
|
|||
vec.push_back(val);
|
||||
push(push_back_trail< V, false>(vec));
|
||||
}
|
||||
euf_trail_stack& get_trail_stack() { return m_trail; }
|
||||
trail_stack& get_trail_stack() { return m_trail; }
|
||||
|
||||
void updt_params(params_ref const& p);
|
||||
void set_lookahead(sat::lookahead* s) override { m_lookahead = s; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue