mirror of
https://github.com/Z3Prover/z3
synced 2026-02-16 05:41:43 +00:00
Remove copies (#8583)
This commit is contained in:
parent
0da28c6d19
commit
836a76c78a
14 changed files with 38 additions and 51 deletions
|
|
@ -1145,7 +1145,7 @@ namespace datalog {
|
|||
set_difference(local_deltas, global_deltas);
|
||||
*/
|
||||
func_decl_set local_deltas;
|
||||
func_decl_set global_deltas(head_preds);
|
||||
const func_decl_set & global_deltas = head_preds;
|
||||
|
||||
pred2idx d_global_src; //these deltas serve as sources of tuples for rule evaluation inside the loop
|
||||
get_fresh_registers(global_deltas, d_global_src);
|
||||
|
|
|
|||
|
|
@ -837,8 +837,8 @@ namespace datalog {
|
|||
SASSERT(&expl_singleton->get_plugin()==m_er_plugin);
|
||||
m_e_fact_relation = static_cast<explanation_relation *>(expl_singleton);
|
||||
}
|
||||
func_decl_set predicates(m_context.get_predicates());
|
||||
for (func_decl* orig_decl : predicates) {
|
||||
|
||||
for (func_decl* orig_decl : m_context.get_predicates()) {
|
||||
TRACE(dl, tout << mk_pp(orig_decl, m_manager) << "\n";);
|
||||
func_decl * e_decl = get_e_decl(orig_decl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue