mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
stash
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f8476a1c87
commit
359d2326f8
12 changed files with 37 additions and 23 deletions
|
@ -100,3 +100,9 @@ void expr_safe_replace::operator()(expr* e, expr_ref& res) {
|
|||
}
|
||||
res = cache.find(e);
|
||||
}
|
||||
|
||||
void expr_safe_replace::reset() {
|
||||
m_src.reset();
|
||||
m_dst.reset();
|
||||
m_subst.reset();
|
||||
}
|
||||
|
|
|
@ -38,6 +38,8 @@ public:
|
|||
void operator()(expr_ref& e) { (*this)(e.get(), e); }
|
||||
|
||||
void operator()(expr* src, expr_ref& e);
|
||||
|
||||
void reset();
|
||||
};
|
||||
|
||||
#endif /* __EXPR_SAFE_REPLACE_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue