model: fixup happens_before/reflexivity, add 'curr' to lists earlier
authorBrian Norris <banorris@uci.edu>
Fri, 14 Sep 2012 19:43:25 +0000 (12:43 -0700)
committerBrian Norris <banorris@uci.edu>
Fri, 14 Sep 2012 19:43:25 +0000 (12:43 -0700)
commit22cfbcda627e74a3a8134bfcde03793e18c47681
treebe1ede2dbbdb2677aa69d351314a322be0033198
parent202074f941d19cef894068e7f79d76b2df598f4b
model: fixup happens_before/reflexivity, add 'curr' to lists earlier

Some code under 'check_current_action' assumes that the current action is not
added to the ModelChecker trace/list data structures yet. However, some
features I need to add will require the current action to be in these
data structures already. So there are a few spots I need to fixup so that the
code can handle "happens_before" reflexivity properly.

This commit moves the "add_action_to_lists()" call as well as fixes up
reflexivity.
model.cc