mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Rename cache to m_cache
This commit is contained in:
parent
0516e6f21f
commit
24044429a7
2 changed files with 5 additions and 5 deletions
|
@ -80,13 +80,13 @@ namespace datalog {
|
|||
|
||||
symbol new_name = symbol(buffer.c_str());
|
||||
|
||||
if (!cache.contains(new_name)) {
|
||||
if (!m_cache.contains(new_name)) {
|
||||
was_added = true;
|
||||
func_decl* orig = decls_buf[0];
|
||||
// AG : is this ref counted
|
||||
func_decl* product_pred = m_ctx.mk_fresh_head_predicate(new_name,
|
||||
symbol::null, domain.size(), domain.c_ptr(), orig);
|
||||
cache.insert(new_name, product_pred);
|
||||
m_cache.insert(new_name, product_pred);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -235,8 +235,8 @@ namespace datalog {
|
|||
}
|
||||
|
||||
symbol name = symbol(buffer.c_str());
|
||||
SASSERT(cache.contains(name));
|
||||
func_decl * pred = cache[name];
|
||||
SASSERT(m_cache.contains(name));
|
||||
func_decl * pred = m_cache[name];
|
||||
|
||||
ptr_vector<expr> args;
|
||||
args.resize(args_num);
|
||||
|
|
|
@ -61,7 +61,7 @@ namespace datalog {
|
|||
|
||||
scoped_ptr<rule_dependencies> m_deps;
|
||||
scoped_ptr<rule_stratifier> m_stratifier;
|
||||
map<symbol, func_decl*, symbol_hash_proc, symbol_eq_proc> cache;
|
||||
map<symbol, func_decl*, symbol_hash_proc, symbol_eq_proc> m_cache;
|
||||
bool is_recursive(rule &r, func_decl &decl) const;
|
||||
bool is_recursive(rule &r, expr &e) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue