3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-04-03 17:06:45 -07:00
parent f8476a1c87
commit 359d2326f8
12 changed files with 37 additions and 23 deletions

View file

@ -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();
}

View file

@ -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__ */