* src/tgba/bdddict.cc (bdd_dict::unregister_variable): Correctly

call release_n(), not remove() to repopulated the freelist of
anonymous BDD variables.  New code I'm working on triggered an
assertion inside remove(), but I'm surprised this bug hadn't
manifested before !
This commit is contained in:
Alexandre Duret-Lutz 2006-07-13 17:21:36 +00:00
parent e84647b30b
commit 49a78724a4
2 changed files with 12 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2006-07-13 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgba/bdddict.cc (bdd_dict::unregister_variable): Correctly
call release_n(), not remove() to repopulated the freelist of
anonymous BDD variables. New code I'm working on triggered an
assertion inside remove(), but I'm surprised this bug hadn't
manifested before !
2006-06-13 Alexandre Duret-Lutz <adl@src.lip6.fr>
* iface/gspn/common.hh, iface/gspn/common.cc, iface/gspn/gspn.cc,

View file

@ -1,6 +1,6 @@
// Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie.
// Copyright (C) 2003, 2004, 2005, 2006 Laboratoire d'Informatique de
// Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
// Université Pierre et Marie Curie.
//
// This file is part of Spot, a model checking library.
//
@ -231,7 +231,7 @@ namespace spot
free_annonymous_list_of_type::iterator i;
for (i = free_annonymous_list_of.begin();
i != free_annonymous_list_of.end(); ++i)
i->second.remove(var, n);
i->second.release_n(var, n);
}
}
}